From 093744f127e7e7ed18d896f130d287f77eccd92a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 23 Jun 2024 16:20:21 +0200 Subject: [PATCH] Update systemd.service: manually add __NODE_DIR__ to systemd conf because systemd won't look in the PATH declared in Environment ~_~ --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 3e546bf..c101cc3 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment=PATH=__PATH_WITH_NODEJS__ Environment=NODE_ENV=production -ExecStart=node tiddlywiki ++languages/__LANGUAGE__ __DATA_DIR__ --listen port=__PORT__ +ExecStart=__NODE_DIR__/node tiddlywiki ++languages/__LANGUAGE__ __DATA_DIR__ --listen port=__PORT__ Restart=always # Sandboxing options to harden security