mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Automatic disable maintenance mode at addon start
https://github.com/alexbelgium/hassio-addons/discussions/870#discussioncomment-6161138
This commit is contained in:
@@ -140,6 +140,12 @@ if [ -f /reinstall ]; then
|
|||||||
sudo -u abc -s /bin/bash -c "php /data/config/www/nextcloud/occ maintenance:mode --off"
|
sudo -u abc -s /bin/bash -c "php /data/config/www/nextcloud/occ maintenance:mode --off"
|
||||||
fi
|
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 #
|
# CLEAN OCDE #
|
||||||
##############
|
##############
|
||||||
|
|||||||
Reference in New Issue
Block a user