diff --git a/scripts/restore b/scripts/restore index 10b80d5..d0a87ef 100755 --- a/scripts/restore +++ b/scripts/restore @@ -20,6 +20,6 @@ ynh_script_progression -m "Starting a systemd service..." -w 1 ynh_systemd_action -a start ynh_script_progression -m "Reloading the web server..." -w 1 -ynh_systemd_action -n nginx -a restart +ynh_systemd_action --service-name=nginx --action restart ynh_script_progression -m "Restoration completed" -l \ No newline at end of file