configure every time

This commit is contained in:
Sebastian Hugentobler 2018-01-30 08:54:21 +01:00
parent 9878163549
commit f6c9be27f1

View File

@ -21,6 +21,7 @@ if [ $? -ne 1 ]; then
s6-setuidgid nginx ./occ config:app:set --value cron core backgroundjobs_mode s6-setuidgid nginx ./occ config:app:set --value cron core backgroundjobs_mode
s6-setuidgid nginx ./occ app:enable user_ldap s6-setuidgid nginx ./occ app:enable user_ldap
s6-setuidgid nginx ./occ app:enable files_sharing s6-setuidgid nginx ./occ app:enable files_sharing
fi
s6-setuidgid nginx ./occ config:system:set --value "https://$DOMAIN" overwrite.cli.url s6-setuidgid nginx ./occ config:system:set --value "https://$DOMAIN" overwrite.cli.url
s6-setuidgid nginx ./occ config:system:set --value ["localhost", "$DOMAIN"] trusted_domains s6-setuidgid nginx ./occ config:system:set --value ["localhost", "$DOMAIN"] trusted_domains
@ -49,4 +50,3 @@ if [ $? -ne 1 ]; then
s6-setuidgid nginx ./occ config:app:set --value "${LDAP_PORT:-389}" user_ldap ldap_port s6-setuidgid nginx ./occ config:app:set --value "${LDAP_PORT:-389}" user_ldap ldap_port
s6-setuidgid nginx ./occ config:app:set --value "$LDAP_BASE_USER_DN" user_ldap ldap_base_users s6-setuidgid nginx ./occ config:app:set --value "$LDAP_BASE_USER_DN" user_ldap ldap_base_users
s6-setuidgid nginx ./occ config:app:set --value "yes" user_ldap enabled s6-setuidgid nginx ./occ config:app:set --value "yes" user_ldap enabled
fi