diff --git a/scripts/install b/scripts/install index 6069601..d54ebac 100755 --- a/scripts/install +++ b/scripts/install @@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers #================================================= # Not stored by default -ynh_app_setting_set --app=$app --key=password --value="$password_couchdb_admin" +ynh_app_setting_set --app=$app --key=password_couchdb_admin --value="$password_couchdb_admin" #================================================= # NGINX CONFIGURATION @@ -38,10 +38,10 @@ couchdb couchdb/mode select standalone couchdb couchdb/mode seen true couchdb couchdb/bindaddress string 127.0.0.1 couchdb couchdb/bindaddress seen true -couchdb couchdb/cookie string $password -couchdb couchdb/adminpass password $password +couchdb couchdb/cookie string $password_couchdb_admin +couchdb couchdb/adminpass password $password_couchdb_admin couchdb couchdb/adminpass seen true -couchdb couchdb/adminpass_again password $password +couchdb couchdb/adminpass_again password $password_couchdb_admin couchdb couchdb/adminpass_again seen true" | debconf-set-selections DEBIAN_FRONTEND=noninteractive # apt-get install -y --force-yes couchdb