diff options
Diffstat (limited to 'go/etc/systemd/system/go.service')
-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 |