nextcloud: reset empty config on boot
This commit is contained in:
parent
556b714e50
commit
d4f1d01b9c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user