2017-03-03 15:19:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=yanic
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=yanic
|
2017-10-26 13:24:52 +00:00
|
|
|
ExecStart=/opt/go/bin/yanic serve --config /etc/yanic.conf
|
2017-03-03 15:19:35 +00:00
|
|
|
Restart=always
|
2017-05-22 10:12:13 +00:00
|
|
|
RestartSec=5s
|
2017-03-03 15:19:35 +00:00
|
|
|
Environment=PATH=/usr/bin:/usr/local/bin
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|