diff --git a/conf/systemd.service b/conf/systemd.service index d2aa174..51ce04b 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,8 +9,10 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment="NODE_ENV=production" Environment="__YNH_NODE_LOAD_PATH__" -ExecStart=pnpm run prod +ExecStart=__NODEJS_PATH__/pnpm run prod Restart=always +StandardOutput=append:/var/log/etherpad/etherpad.log +StandardError=inherit # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these