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