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:
parent
2e700ec045
commit
23b7484e1e
1 changed files with 16 additions and 13 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue