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

add DB variables

This commit is contained in:
ericgaspar 2020-05-24 23:06:38 +02:00
parent d3cbffb86c
commit fcffcc4ab9
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 6 additions and 1 deletions

View file

@ -191,7 +191,7 @@ ynh_script_progression --message="Configuring SSOwat..." --weight=1
#=================================================
# RELOAD NGINX
#=================================================
ynh_script_progression --message="Reloading nginx web server..." --weight=2
ynh_script_progression --message="Reloading Nginx web server..." --weight=2
ynh_systemd_action --service_name=nginx --action=reload

View file

@ -22,6 +22,11 @@ is_public=$(ynh_app_setting_get --app=$app --key=is_public)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
port=$(ynh_app_setting_get --app=$app --key=port)
# Add settings here as needed by your application
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
db_user=$(ynh_app_setting_get --app=$app --key=db_user)
db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
#=================================================
# CHECK VERSION
#=================================================