Fixes and Enhancements (#16)
* Add more instructions after successfully creating a new subdomain. * Update the container name. * Add a just-in-case step. * Add an alias and improve comments. * Fix manage path. * Add limits but no reservations for PP. Start off somewhat relaxed rather than strict. * Always restart PP containers. * Move URL to env file. Do not recommend using HTTPS in the value. * Format comments. * Put commands in shells so they cannot exit the full program. * Updating apps like this did not seem to be working, but also do not want it to work anymore.
This commit is contained in:
@ -12,10 +12,11 @@ if (( $RUNNING > 0 )); then
|
||||
fi
|
||||
|
||||
# 2023-08-25 From crontab.
|
||||
docker exec -u www-data nc-app php cron.php --define apc.enable_cli=1
|
||||
sh -c "docker exec -u www-data nc-app php cron.php --define apc.enable_cli=1"
|
||||
|
||||
# 2023-08-25 From fixes.sh, keep ownership correct and apps up to date.
|
||||
docker exec -it nc-app chown -Rc www-data:www-data .
|
||||
docker exec -itu www-data nc-app ./occ app:update --all
|
||||
sh -c "docker exec -it nc-app chown -Rc www-data:www-data ."
|
||||
# No longer update apps in advance of NC updates, allow the upgrade process to do it.
|
||||
#sh -c "docker exec -itu www-data nc-app ./occ app:update --all"
|
||||
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user