1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

Update systemd.service

This commit is contained in:
ericgaspar 2022-01-03 16:20:29 +01:00
parent f5713aa3d9
commit c7ebbb32da
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -1,16 +1,14 @@
[Unit] [Unit]
Description=The Lounge IRC client Description=The Lounge IRC client
After=network.target After=network-online.target
Wants=network-online.target
[Service] [Service]
Type=simple Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__FINALPATH__/
Environment="PATH=__ENV_PATH__"
Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/" Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/"
Environment="NODE_ENV=production" ExecStart=/usr/bin/thelounge start
ExecStart=/usr/bin/yarn start
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
StartLimitInterval=60s StartLimitInterval=60s