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

14 lines
225 B
SYSTEMD
Raw Normal View History

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