From 26ce270ffb1dab94747cc963814cc67981501eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 29 Jan 2024 14:05:39 +0100 Subject: [PATCH] try to fix install start --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index a7813d9..df65daa 100644 --- a/scripts/install +++ b/scripts/install @@ -51,7 +51,9 @@ ynh_script_progression --message="Starting a systemd service..." --weight=5 # Start a systemd service # NB. : we need a stupid *re*start because the service is in fact already started during the damn package install ... so it won't find a recent "Ready to accept connection" match ... -ynh_systemd_action --service_name="coolwsd" --action="restart" --log_path="systemd" --line_match="Ready to accept connections" +ynh_systemd_action --service_name="coolwsd" --action="stop" --log_path="systemd" +ynh_systemd_action --service-name="coolwsd" --action="reset-failed" +ynh_systemd_action --service_name="coolwsd" --action="start" --log_path="systemd" --line_match="Ready to accept connections" #================================================= # END OF SCRIPT