From 89317ee561297b3626fa86db4951187bf8bccea1 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 6 Jan 2014 01:00:06 +0100 Subject: go: add systemd foo --- go/etc/systemd/system/go.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 go/etc/systemd/system/go.service (limited to 'go/etc/systemd') 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 -- cgit v1.2.3