From 72bb8aa3c23705ed49461bfeb61359554bf999dd Mon Sep 17 00:00:00 2001 From: Paul Walko Date: Thu, 5 Nov 2020 19:43:47 -0500 Subject: [PATCH] fix nc scan files cmd --- fogcutter/k8s/nextcloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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