Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-11-02 11:23:07 +01:00
Родитель e70a1ede50
Коммит 68a33f9fe1
2 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -1,4 +1,11 @@
#!/usr/bin/env bash
if [ -f "/var/www/html/occ" ]; then
# Apply one-click-instance settings...
sudo -u www-data php /var/www/html/occ config:system:set one-click-instance --value=true --type=bool
sudo -u www-data php /var/www/html/occ config:system:set one-click-instance.user-limit --value=100 --type=int
sudo -u www-data php /var/www/html/occ config:system:set one-click-instance.link --value="https://nextcloud.com/univention/"
sudo -u www-data php /var/www/html/occ app:enable support
fi
service cron start && \
rm /var/run/apache2/apache2.pid 2>/dev/null || true && \
/usr/sbin/apache2ctl -D FOREGROUND

6
setup
Просмотреть файл

@ -163,12 +163,6 @@ fi
# Recreate the htaccess on both install and update
$OCC maintenance:update:htaccess
# Apply one-click-instance settings...
$OCC config:system:set one-click-instance --value=true --type=bool
$OCC config:system:set one-click-instance.user-limit --value=100 --type=int
$OCC config:system:set one-click-instance.link --value="https://nextcloud.com/univention/"
$OCC app:enable support
# env var is set from the dockerfile
if [ "$NC_IS_PATCHED" = true ]; then
$OCC config:system:set integrity.check.disabled --value="true" --type=boolean