nextcloud: reset empty config on boot

This commit is contained in:
Brad Stein 2026-01-06 14:40:29 -03:00
parent 7d2d6ad6e4
commit 9d972acce8

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