From 54cbbfb6db021f76ca282a979148ecc9b9b0d04f Mon Sep 17 00:00:00 2001 From: lapineige Date: Wed, 27 Dec 2023 15:22:20 +0100 Subject: [PATCH] sleep 1m to initialize DB Temporary fix --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 6cf9a01..6214067 100644 --- a/scripts/install +++ b/scripts/install @@ -201,6 +201,8 @@ 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" +# wait for service to initialize DB (helps on slow hardware) +sleep 1m #================================================= # INSTALL LDAP PLUGIN