From 57b06b204342a3199844486265abee7daa681a96 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Thu, 11 Sep 2025 21:21:00 +0200 Subject: [PATCH] Update Joplin Server --- install/joplin-server-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/joplin-server-install.sh b/install/joplin-server-install.sh index 383d0c59..061787c2 100644 --- a/install/joplin-server-install.sh +++ b/install/joplin-server-install.sh @@ -56,6 +56,8 @@ export BUILD_SEQUENCIAL=1 $STD yarn install --inline-builds cat </opt/joplin-server/.env +PM2_HOME=/opt/pm2 +NODE_ENV=production APP_BASE_URL=http://$LOCAL_IP:22300 APP_PORT=22300 DB_CLIENT=pg @@ -75,7 +77,7 @@ After=network.target [Service] Type=simple -Directory=/opt/joplin-server/packages/server +WorkingDirectory=/opt/joplin-server/packages/server EnvironmentFile=/opt/joplin-server/.env ExecStart=/usr/bin/yarn start-prod Restart=on-failure