From 78adbeca62c8d7bf48419b65442c1e3d1f39fc95 Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Sun, 19 Feb 2017 18:19:39 +0100 Subject: [PATCH] [TASK] add init system.unit --- init/linux-systemd/respond-collector.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 init/linux-systemd/respond-collector.service diff --git a/init/linux-systemd/respond-collector.service b/init/linux-systemd/respond-collector.service new file mode 100644 index 0000000..844b706 --- /dev/null +++ b/init/linux-systemd/respond-collector.service @@ -0,0 +1,12 @@ +[Unit] +Description=respond-collector + +[Service] +Type=simple +User=respond-collector +ExecStart=/opt/go/bin/respond-collector -config /etc/respond-collector.conf +Restart=always +Environment=PATH=/usr/bin:/usr/local/bin + +[Install] +WantedBy=multi-user.target