From d9ec1e50fbb922783fd449518bbb2f9ea5f3d4b5 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Tue, 2 Nov 2021 02:40:34 +0300 Subject: [PATCH] feat: use node helper var in service file --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index ae33d61..e12642b 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ -ExecStart=/usr/local/n/versions/node/14.18.1/bin/node server/server.js --port=__PORT__ +ExecStart=__YNH_NODE__ server/server.js --port=__PORT__ StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit