1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Update install

This commit is contained in:
ericgaspar 2021-06-03 18:23:36 +02:00
parent d3c2d5a319
commit 0f2a261b26
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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" ynh_add_config --template="../conf/discourse_defaults.conf" --destination="$final_path/config/discourse.conf"
chmod 400 "$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 # Configure LDAP plugin
ynh_add_config --template="../conf/settings.yml" --destination="$final_path/plugins/discourse-ldap-auth/config/settings.yml" 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 # 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" 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 # SETUP SSOWAT