ansible-ffrgb/roles/yanic/files/yanic.service

15 lines
247 B
SYSTEMD
Raw Normal View History

[Unit]
Description=yanic
2018-01-17 14:18:44 +01:00
After=network.target
[Service]
Type=simple
User=yanic
2017-11-09 21:44:38 +01:00
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