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:
parent
f5713aa3d9
commit
c7ebbb32da
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue