From 5c717516331015694659544f8dcbd9cd72fa9360 Mon Sep 17 00:00:00 2001 From: Neko Nekowazarashi Date: Mon, 29 May 2023 20:32:00 +0700 Subject: [PATCH] perbaiki jalur nodejs --- conf/systemd.service | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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