diff --git a/conf/systemd.service b/conf/systemd.service index 4524d47..6816aee 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -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