diff --git a/scripts/install b/scripts/install index 9c36a60..b5506e8 100644 --- a/scripts/install +++ b/scripts/install @@ -142,7 +142,7 @@ ynh_app_setting_set --app="$app" --key=redis_db --value="$redis_db" ynh_add_config --template="../conf/discourse_defaults.conf" --destination="$final_path/config/discourse.conf" chmod 400 "$final_path/config/discourse.conf" -chown $app:$app "$final_path/config/discourse.conf" +chown $app "$final_path/config/discourse.conf" # Configure LDAP plugin ynh_add_config --template="../conf/settings.yml" --destination="$final_path/plugins/discourse-ldap-auth/config/settings.yml" @@ -314,6 +314,7 @@ ynh_script_progression --message="Starting a systemd service..." # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="$final_path/log/unicorn.stderr.log" --line_match="INFO -- : worker=$((unicorn_workers-1)) ready" +sleep 120 #================================================= # SETUP SSOWAT