Fixed notification message about NC maint:off
This commit is contained in:
parent
018cc4a0ad
commit
cd3e69c081
@ -262,8 +262,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
## Put NextCloud back into operational mode
|
## Put NextCloud back into operational mode
|
||||||
echo -e "\e[1;36m[`date +%Y-%m-%d` `date +%H:%M:%S`] Putting NextCloud" \
|
echo -e "\e[1;36m[`date +%Y-%m-%d` `date +%H:%M:%S`] Taking NextCloud" \
|
||||||
"in maintenance mode..." >> $logFile
|
"out of maintenance mode..." >> $logFile
|
||||||
sudo -u ${webUser} php "${ncroot}/occ maintenance:mode --off" 2>> $logFile
|
sudo -u ${webUser} php "${ncroot}/occ maintenance:mode --off" 2>> $logFile
|
||||||
# verify
|
# verify
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user