mirror of
https://github.com/YunoHost-Apps/flohmarkt_ynh.git
synced 2024-09-03 18:36:30 +02:00
save cookie
This commit is contained in:
parent
7701786e08
commit
1e05705732
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ ynh_script_progression --message="Installing CouchDB..." --weight=60
|
||||||
# This value must match for all nodes in the cluster. If they do not match,
|
# This value must match for all nodes in the cluster. If they do not match,
|
||||||
# attempts to connect the node to the cluster will be rejected.
|
# attempts to connect the node to the cluster will be rejected.
|
||||||
couchdb_magic_cookie=$(openssl rand 32 | base32 -w 0 | head -c-4)
|
couchdb_magic_cookie=$(openssl rand 32 | base32 -w 0 | head -c-4)
|
||||||
|
ynh_app_setting_set --app=$app --key=erlang_cookie --value="$couchdb_magic_cookie"
|
||||||
|
|
||||||
echo "\
|
echo "\
|
||||||
couchdb couchdb/mode select standalone
|
couchdb couchdb/mode select standalone
|
||||||
|
|
Loading…
Add table
Reference in a new issue