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

15 lines
254 B
SYSTEMD
Raw Normal View History

[Unit]
Description=yanic
2018-01-18 14:48:41 +01:00
After=network-online.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