diff --git a/conf/systemd.service b/conf/systemd.service index ec43ac0..27608aa 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -5,9 +5,10 @@ After=__APP__.service Type=simple User=__APP__ Group=__APP__ +WorkingDirectory=__FINALPATH__ ExecStartPre=__NODEJS__ Environment="PATH=__ENV_PATH__" -ExecStart=__FINALPATH__/index.js start --home /home/yunohost.app/__APP__/ +ExecStart=__NODE__ index.js start --home /home/yunohost.app/__APP__/ Restart=on-failure RestartSec=5 StartLimitInterval=60s