From 4fb28b6a6f1bc90bf16993fee606117c74210f7d Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 27 Dec 2023 15:41:12 +0100 Subject: [PATCH] Wait for the service to be fully started (db init) Only on first service start (should be done during the second one) --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 86deeeb..97665ff 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -260,7 +260,7 @@ ynh_script_progression --message="Starting a systemd service..." mkdir -p "/var/log/$app" chown -R $app:$app "/var/log/$app" # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="HTTP server listening on localhost" #================================================= # INSTALL LDAP PLUGIN