[TASK] add init system.unit

This commit is contained in:
Martin Geno 2017-02-19 18:19:39 +01:00
parent 3e342ce738
commit 78adbeca62
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941
1 changed files with 12 additions and 0 deletions

View File

@ -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