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 2021-07-02 23:03:52 +02:00
parent d6676c0afa
commit 70482a9fc1
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -10,8 +10,7 @@ WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__"
#Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__"
Environment="NODE_ENV=production"
ExecStart=/usr/bin/yarn start -c port=__PORT__ -c public=true
#ExecStart=THELOUNGE_HOME=/home/yunohost.app/__APP__ thelounge start -c port=__PORT__ -c public=true
ExecStart=__YNH_NPM__ start -c port=__PORT__
Restart=on-failure
RestartSec=5
StartLimitInterval=60s