1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dispatch_ynh.git synced 2024-09-03 18:25:53 +02:00
This commit is contained in:
ericgaspar 2021-08-30 11:42:05 +02:00
parent 2dbfd29914
commit 880cf7e347
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 9 deletions

View file

@ -16,5 +16,4 @@ location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}

View file

@ -1,17 +1,13 @@
[Unit]
Description=Dispatch IRC client
Wants=network-online.target
After=network-online.target
After=network.target
[Service]
Type=simple
User=__APP__
Group=nogroup
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/dispatch
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
[Install]
WantedBy=default.target
WantedBy=multi-user.target