diff --git a/fogcutter/k8s/nextcloud.yml b/fogcutter/k8s/nextcloud.yml index 2d3b2b2..91a505f 100644 --- a/fogcutter/k8s/nextcloud.yml +++ b/fogcutter/k8s/nextcloud.yml @@ -1,4 +1,4 @@ -# to scan new files: su -l www-data -s /bin/bash -c "/var/www/html/occ files:scan --path='/USER/files'" +# to scan new files: k exec --stdin --tty nextcloud-POD -npew -- /bin/bash -c "/var/www/html/occ files:scan --path='/USER/files'" --- apiVersion: apps/v1