1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dispatch_ynh.git synced 2024-09-03 18:25:53 +02:00
dispatch_ynh/conf/systemd.service

18 lines
311 B
SYSTEMD
Raw Normal View History

2021-05-30 12:34:29 +02:00
[Unit]
Description=Dispatch IRC client
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
User=__APP__
2021-07-08 11:15:15 +02:00
Group=__APP__
2021-07-08 11:46:15 +02:00
ExecStart=__FINALPATH__/dispatch -a 127.0.0.1 -p __PORT__
2021-05-30 12:34:29 +02:00
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
[Install]
WantedBy=default.target