From b3fd9fd9b5a45f06216a42b0099357f5748038ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 9 May 2024 19:22:15 +0200 Subject: [PATCH] Revert "Update systemd.service" This reverts commit a33e08210c3c33c8d47acbd31e1aadb12aa8adc4. --- conf/systemd.service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index d2aa174..559f1e1 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,9 +7,11 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ +Environment=ETHERPAD_PRODUCTION=true Environment="NODE_ENV=production" Environment="__YNH_NODE_LOAD_PATH__" -ExecStart=pnpm run prod +ExecStart=__INSTALL_DIR__/bin/run.sh +#ExecStart=pnpm run prod Restart=always # Sandboxing options to harden security