yanic/contrib/init/linux-systemd/yanic.service

14 lines
219 B
SYSTEMD
Raw Permalink Normal View History

2017-03-03 15:19:35 +00:00
[Unit]
Description=yanic
[Service]
Type=simple
User=yanic
ExecStart=/opt/go/bin/yanic -config /etc/yanic.conf
Restart=always
RestartSec=5s
2017-03-03 15:19:35 +00:00
Environment=PATH=/usr/bin:/usr/local/bin
[Install]
WantedBy=multi-user.target