From 70482a9fc1381181fb6235ba39906c71eea7843d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 2 Jul 2021 23:03:52 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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