mirror of
https://github.com/YunoHost-Apps/flood_ynh.git
synced 2024-09-03 18:36:20 +02:00
Update change_url
This commit is contained in:
parent
bf5b240195
commit
61f93665ea
1 changed files with 9 additions and 1 deletions
|
@ -30,6 +30,7 @@ ynh_script_progression --message="Loading installation settings..."
|
|||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
|
||||
# Add settings here as needed by your application
|
||||
datadir=$(ynh_app_setting_get --app=$app --key=datadir)
|
||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||
scgi_port=$(ynh_app_setting_get --app=$app --key=scgi_port)
|
||||
rt_port=$(ynh_app_setting_get --app=$app --key=rt_port)
|
||||
|
@ -109,8 +110,15 @@ fi
|
|||
#=================================================
|
||||
# SPECIFIC MODIFICATIONS
|
||||
#=================================================
|
||||
# ...
|
||||
# SETUP SYSTEMD
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading systemd configuration..."
|
||||
|
||||
path_url=$new_path
|
||||
domain=$new_domain
|
||||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config --service=$app --template="flood.service"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
|
|
Loading…
Add table
Reference in a new issue