mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
helm: allow to set default quota for Nextcloud
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
524d97b1c9
commit
3c6b44d1b5
4 changed files with 13 additions and 0 deletions
|
|
@ -475,6 +475,13 @@ if [ -n "$SUBSCRIPTION_KEY" ] && [ -z "$(php /var/www/html/occ config:app:get su
|
|||
php /var/www/html/occ config:app:set support potential_subscription_key --value="$SUBSCRIPTION_KEY"
|
||||
php /var/www/html/occ config:app:delete support last_check
|
||||
fi
|
||||
if [ -n "$NEXTCLOUD_DEFAULT_QUOTA" ]; then
|
||||
if [ "$NEXTCLOUD_DEFAULT_QUOTA" = "unlimited" ]; then
|
||||
php /var/www/html/occ config:app:delete files default_quota
|
||||
else
|
||||
php /var/www/html/occ config:app:set files default_quota --value="$NEXTCLOUD_DEFAULT_QUOTA"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Adjusting log files to be stored on a volume
|
||||
echo "Adjusting log files..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue