mirror of https://github.com/tteck/Proxmox.git
Compare commits
3 Commits
0618c89147
...
0665e77a1c
Author | SHA1 | Date |
---|---|---|
tteckster | 0665e77a1c | |
tteckster | 6e7b5d8022 | |
tteckster | 11c5f518a0 |
|
@ -63,16 +63,14 @@ else
|
|||
msg_ok "pnpm is already installed."
|
||||
fi
|
||||
msg_info "Updating $APP"
|
||||
systemctl stop jellyseerr
|
||||
cd /opt/jellyseerr
|
||||
output=$(git pull)
|
||||
git pull &>/dev/null
|
||||
output=$(git pull --no-rebase &>/dev/null)
|
||||
if echo "$output" | grep -q "Already up to date."
|
||||
then
|
||||
msg_ok "$APP is already up to date."
|
||||
systemctl start jellyseerr
|
||||
exit
|
||||
fi
|
||||
systemctl stop jellyseerr
|
||||
export CYPRESS_INSTALL_BINARY=0
|
||||
pnpm install --frozen-lockfile &>/dev/null
|
||||
export NODE_OPTIONS="--max-old-space-size=3072"
|
||||
|
@ -92,6 +90,7 @@ ExecStart=/usr/bin/node dist/index.js
|
|||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
systemctl start jellyseerr
|
||||
msg_ok "Updated $APP"
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue