1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

fix multi_instance

This commit is contained in:
Kay0u 2019-11-20 13:30:15 +09:00
parent 9d28b75fb9
commit fc110058a9
No known key found for this signature in database
GPG key ID: 7FF262C033518333
3 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@
"ldap_group_filter_mode": "0",
"ldap_groupfilter_objectclass": "posixGroup",
"ldap_host": "localhost",
"ldap_login_filter": "(&(|(objectclass=posixAccount))(uid=%uid)(permission=cn=nextcloud.main,ou=permission,dc=yunohost,dc=org))",
"ldap_login_filter": "(&(|(objectclass=posixAccount))(uid=%uid)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))",
"ldap_login_filter_mode": "0",
"ldap_port": "389",
"ldap_quota_attr": "userquota",

View file

@ -177,6 +177,7 @@ ynh_secure_remove --file="$nc_conf"
nc_conf="$final_path/config.json"
cp ../conf/config.json "$nc_conf"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$nc_conf"
exec_occ config:import "$nc_conf"
# Then remove the config file

View file

@ -295,8 +295,7 @@ then
nc_conf="${final_path}/config.json"
cp ../conf/config.json "$nc_conf"
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$nc_conf"
ynh_replace_string --match_string="__DATADIR__" --replace_string="$datadir" --target_file="$nc_conf"
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$nc_conf"
# Ensure that UpdateNotification app is disabled
exec_occ app:disable updatenotification