From b77a139202ffe405b74803cf91c2bfd68820ce9c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 11 Dec 2023 07:36:02 +0100 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 200bb15..e419287 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,12 +1,13 @@ [Unit] Description=Etherpad-lite: collaborative editor -After=syslog.target network.target postgresql.service +After=syslog.target network.target [Service] Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__INSTALL_DIR__ +WorkingDirectory=__INSTALL_DIR__/ +Environment=ETHERPAD_PRODUCTION=true Environment="NODE_ENV=production" Environment="__YNH_NODE_LOAD_PATH__" ExecStart=__INSTALL_DIR__/src/bin/run.sh