Added NC maint section

This commit is contained in:
Asif Bacchus 2018-09-19 23:50:33 -06:00
parent 9dbc610c24
commit 1e57ea1d15

View File

@ -228,6 +228,16 @@ else
fi
### Put NextCloud in maintenance mode
ncMaint on
# check if successful
if [ "$maintResult" = "0" ]; then
echo -e "${bold}${cyan}${stamp}...done${normal}" >> "$logFile"
else
cleanup 503
quit 200
fi
### Exit script
quit