From ec713a821e8a778a675643b1db8a013caaa1ccc5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 30 Jun 2021 13:44:35 +0200 Subject: [PATCH] Fix restart-or-reload --- scripts/ynh_supervisor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ynh_supervisor b/scripts/ynh_supervisor index be6d47b7..cd7ed325 100644 --- a/scripts/ynh_supervisor +++ b/scripts/ynh_supervisor @@ -109,7 +109,7 @@ ynh_supervisor_action() { # Use reload-or-restart instead of reload. So it wouldn't fail if the service isn't running. if [ "$action" == "reload" ]; then - action="reload-or-restart" + action="restart" fi # If the service fails to perform the action