1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dato_ynh.git synced 2024-09-03 18:16:33 +02:00

Restart couchdb service before editing _users db security document.

This commit is contained in:
squeak 2021-09-09 19:42:21 +02:00
parent 2e700ec045
commit 23b7484e1e

View file

@ -165,6 +165,9 @@ if [[ $autosynchronize == true ]]; then
# make sure that couchdb has CORS enabled and that it accepts requests from dato domain # make sure that couchdb has CORS enabled and that it accepts requests from dato domain
ynh_add_config --template="../conf/couch.ini" --destination="/opt/couchdb/etc/local.d/$app.ini" ynh_add_config --template="../conf/couch.ini" --destination="/opt/couchdb/etc/local.d/$app.ini"
# restart couchdb service so that it takes into consideration the changes
yunohost service restart couchdb
#================================================= #=================================================
# SETUP A COUCHDB DATO ADMIN USER # SETUP A COUCHDB DATO ADMIN USER
#================================================= #=================================================