From c9f1c327d73e07ae9253eff74604b87a0c55cfc3 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Tue, 1 May 2018 15:05:05 +0200 Subject: [PATCH] [fix] systemd --- conf/systemd.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/systemd.service b/conf/systemd.service index c66540b..7504134 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,6 +6,9 @@ Type=simple ExecStart=/var/www/thelounge/index.js start --home /home/yunohost.app/__APP__/ User=__APP__ Group=__APP__ +ExecStartPre=__NODEJS__ +Environment="PATH=__ENV_PATH__" +ExecStart=__FINALPATH__/index.js start --home /home/yunohost.app/__APP__/ Restart=on-failure RestartSec=5 StartLimitInterval=60s