diff --git a/scripts/restore b/scripts/restore index 97c8e4d..1341cc7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -26,7 +26,7 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 -ynh_restore_file -o "/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/systemd/system/$app.service" ynh_systemd_action --action=enable