From 2db8faeaa4e251c444c74573f1630e0d6189fc5e Mon Sep 17 00:00:00 2001 From: tremor021 Date: Tue, 3 Jun 2025 10:46:56 +0200 Subject: [PATCH] Update Notesnook --- install/notesnook-install.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/install/notesnook-install.sh b/install/notesnook-install.sh index a51a3938..65bec52a 100644 --- a/install/notesnook-install.sh +++ b/install/notesnook-install.sh @@ -20,7 +20,7 @@ msg_ok "Installed Dependencies" NODE_MODULE="yarn" install_node_and_modules msg_info "Installing Notesnook (Patience)" -fetch_and_deploy_gh_release "streetwriters/notesnook" +fetch_and_deploy_gh_release "notesnook" "streetwriters/notesnook" "tarball" cd /opt/notesnook export NODE_OPTIONS="--max-old-space-size=2560" mkdir -p certs @@ -39,18 +39,15 @@ After=network-online.target Type=simple User=root WorkingDirectory=/opt/notesnook -ExecStart=/usr/bin/npx serve -l tcp://0.0.0.0:3000 apps/web/build \\ - --ssl-cert certs/cert.pem \\ - --ssl-key certs/key.pem +ExecStart=/usr/bin/npx serve -l tcp://0.0.0.0:3000 apps/web/build --ssl-cert certs/cert.pem --ssl-key certs/key.pem Restart=on-failure [Install] -WantedBy=multi-user.target +WantedBy=multi-user.targetnp EOF systemctl enable -q --now notesnook msg_ok "Created Service" - motd_ssh customize