diff --git a/conf/systemd.service b/conf/systemd.service index 0e1f965..be4944f 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,7 +10,7 @@ Group=__APP__ ExecStartPre=__NODEJS__ WorkingDirectory=__FINALPATH__ Environment="PATH=__ENV_PATH__" -ExecStart=/bin/bash -c 'exec __NODE__ server.js | tee /var/log/__APP__/__APP__.log' +ExecStart=__NODE__ server.js | tee /var/log/__APP__/__APP__.log Restart=always [Install]