Automatic disable maintenance mode at addon start

https://github.com/alexbelgium/hassio-addons/discussions/870#discussioncomment-6161138
This commit is contained in:
Alexandre
2023-06-13 11:20:37 +02:00
committed by GitHub
parent 97bed5af97
commit 762a5fa451

View File

@@ -140,6 +140,12 @@ if [ -f /reinstall ]; then
sudo -u abc -s /bin/bash -c "php /data/config/www/nextcloud/occ maintenance:mode --off"
fi
###########################
# DISABLE MAINTENACE MODE #
###########################
sudo -u abc -s /bin/bash -c "php /data/config/www/nextcloud/occ maintenance:mode --off" &>/dev/null || true
##############
# CLEAN OCDE #
##############