[TASK] add init system.unit
This commit is contained in:
parent
3e342ce738
commit
78adbeca62
|
@ -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
|
Loading…
Reference in New Issue