1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
This commit is contained in:
ericgaspar 2022-10-09 11:30:57 +02:00
parent 96f7b2f397
commit 323b6914e0

View file

@ -188,12 +188,12 @@ fi
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=2
# Configure Galene
# Configure Galène
ynh_add_config --template="../conf/config.json" --destination="$final_path/live/data/config.json"
chmod 400 "$final_path/live/data/config.json"
chown $app:$app "$final_path/live/data/config.json"
# Configure Galene LDAP
# Configure Galène LDAP
# If key doesn't exist, create it
if [ -z "$key" ]; then
key=$(jose jwk gen -i '{"kty":"oct","alg":"HS256"}')