mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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"
|
||||
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 #
|
||||
##############
|
||||
|
||||
Reference in New Issue
Block a user