mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
Need to regen the app conf during changeurl
This commit is contained in:
parent
b4460a3894
commit
1607fb2407
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
|
|||
|
||||
ynh_change_url_nginx_config
|
||||
|
||||
ynh_backup_if_checksum_is_different --file="$install_dir/coin/settings_local.py"
|
||||
ynh_render_template ../conf/local.py.j2 "$install_dir/coin/settings_local.py"
|
||||
ynh_store_file_checksum --file="$install_dir/coin/settings_local.py"
|
||||
|
||||
chmod 400 "$install_dir/coin/settings_local.py"
|
||||
chown $app "$install_dir/coin/settings_local.py"
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
||||
|
||||
ynh_script_progression --message="Change of URL completed for $app" --last
|
||||
|
|
Loading…
Add table
Reference in a new issue