diff --git a/conf/systemd.service b/conf/systemd.service index 4435459..b6aadc5 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,9 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ -ExecStart=/usr/bin/npx next start -p __PORT__ -StandardOutput=append:/var/log/__APP__/__APP__.log -StandardError=inherit +ExecStart=__NODEJS_PATH__/npx next start -p __PORT__ # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these