Compare commits

..

3 Commits

Author SHA1 Message Date
tteckster 0665e77a1c
Update jellyseerr.sh
more tweaks
2024-10-17 05:15:34 -04:00
tteckster 6e7b5d8022
Update jellyseerr.sh
tweak
2024-10-17 04:27:26 -04:00
tteckster 11c5f518a0
Update jellyseerr.sh
tweak
2024-10-16 23:29:32 -04:00
1 changed files with 3 additions and 4 deletions

View File

@ -63,16 +63,14 @@ else
msg_ok "pnpm is already installed." msg_ok "pnpm is already installed."
fi fi
msg_info "Updating $APP" msg_info "Updating $APP"
systemctl stop jellyseerr
cd /opt/jellyseerr cd /opt/jellyseerr
output=$(git pull) output=$(git pull --no-rebase &>/dev/null)
git pull &>/dev/null
if echo "$output" | grep -q "Already up to date." if echo "$output" | grep -q "Already up to date."
then then
msg_ok "$APP is already up to date." msg_ok "$APP is already up to date."
systemctl start jellyseerr
exit exit
fi fi
systemctl stop jellyseerr
export CYPRESS_INSTALL_BINARY=0 export CYPRESS_INSTALL_BINARY=0
pnpm install --frozen-lockfile &>/dev/null pnpm install --frozen-lockfile &>/dev/null
export NODE_OPTIONS="--max-old-space-size=3072" export NODE_OPTIONS="--max-old-space-size=3072"
@ -92,6 +90,7 @@ ExecStart=/usr/bin/node dist/index.js
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl daemon-reload
systemctl start jellyseerr systemctl start jellyseerr
msg_ok "Updated $APP" msg_ok "Updated $APP"
exit exit