mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 10:42:53 +02:00
Update paperless-ngx.sh
tweak
This commit is contained in:
parent
ef4d18f870
commit
bd94aad7fa
@ -66,7 +66,7 @@ function update_script() {
|
||||
3>&1 1>&2 2>&3)
|
||||
header_info
|
||||
if [ "$UPD" == "1" ]; then
|
||||
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then
|
||||
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt 2>/dev/null ]]; then
|
||||
msg_info "Stopping all Paperless-ngx Services"
|
||||
systemctl stop paperless-consumer paperless-webserver paperless-scheduler paperless-task-queue.service
|
||||
msg_ok "Stopped all Paperless-ngx Services"
|
||||
|
Loading…
Reference in New Issue
Block a user