mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-01 19:41:44 +08:00
add missing sudo
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
d7a174615c
commit
73b4c2d3ea
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ while true; do
|
|||
find "/mnt/docker-aio-config/session/" -mindepth 1 -mmin +1440 -delete
|
||||
|
||||
# Remove nextcloud-aio-domaincheck container
|
||||
if docker ps --format "{{.Names}}" --filter "status=exited" | grep -qw "^nextcloud-aio-domaincheck$"; then
|
||||
if sudo -u www-data docker ps --format "{{.Names}}" --filter "status=exited" | grep -qw "^nextcloud-aio-domaincheck$"; then
|
||||
sudo -u www-data docker container remove nextcloud-aio-domaincheck
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue