yanic/contrib/init/linux-systemd/yanic.service
2017-10-01 17:09:12 +02:00

14 lines
225 B
Desktop File

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