15 lines
254 B
Desktop File
15 lines
254 B
Desktop File
[Unit]
|
|
Description=yanic
|
|
After=network-online.target
|
|
|
|
[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
|