mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #2858 from nextcloud/enh/noid/add-low-space-notification
add low-on-space notification
This commit is contained in:
commit
fce23622e9
2 changed files with 29 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ while true; do
|
|||
# Remove dangling images
|
||||
sudo -u www-data docker image prune --force
|
||||
|
||||
# Check for available free space
|
||||
sudo -u www-data php /var/www/docker-aio/php/src/Cron/CheckFreeDiskSpace.php
|
||||
|
||||
# Remove mastercontainer from default bridge network
|
||||
if sudo -u www-data docker inspect nextcloud-aio-mastercontainer --format "{{.NetworkSettings.Networks}}" | grep -q "bridge"; then
|
||||
sudo -u www-data docker network disconnect bridge nextcloud-aio-mastercontainer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue