diff options
author | tv <tv@nomic.retiolum> | 2014-01-06 01:00:06 +0100 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2014-01-06 01:00:06 +0100 |
commit | 89317ee561297b3626fa86db4951187bf8bccea1 (patch) | |
tree | a76770d2d2caa6895c3cd7c6da2b97b9b62e863d /go/etc/systemd | |
parent | fbc2cf879ea76a590923fbcd4bf6150be0aad35c (diff) |
go: add systemd foo
Diffstat (limited to 'go/etc/systemd')
-rw-r--r-- | go/etc/systemd/system/go.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/go/etc/systemd/system/go.service b/go/etc/systemd/system/go.service new file mode 100644 index 00000000..c129296c --- /dev/null +++ b/go/etc/systemd/system/go.service @@ -0,0 +1,14 @@ +[Unit] +Description=go uri shortener +After=redis.service + +[Service] +EnvironmentFile=/etc/conf.d/go.env +ExecStart=/usr/bin/node /krebs/go +KillMode=process +User=go +Group=go +Restart=always + +[Install] +WantedBy=multi-user.target |