Fix restore script
This commit is contained in:
parent
b41fb8d94c
commit
6344ac48e1
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
|
||||
ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
ynh_script_progression --message="Recreating the dedicated system user..."
|
||||
ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||
|
|
Loading…
Reference in a new issue