nextcloud: reset empty config on boot

This commit is contained in:
Brad Stein 2026-01-06 14:40:29 -03:00
parent 556b714e50
commit d4f1d01b9c

View File

@ -28,6 +28,9 @@ spec:
command: ["/bin/sh", "-c"]
args:
- |
if [ ! -s /var/www/html/config/config.php ]; then
rm -f /var/www/html/config/config.php || true
fi
chown 33:33 /var/www/html || true
chmod 775 /var/www/html || true
chown -R 33:33 /var/www/html/config || true