diff --git a/scripts/change_url b/scripts/change_url index afe76c7..5f53319 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -124,7 +124,8 @@ ynh_store_file_checksum "$final_path/.env" # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="http" +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started Distbin Service" +sleep 10 #================================================= # GENERIC FINALISATION diff --git a/scripts/install b/scripts/install index 9eca9b9..fc2be34 100644 --- a/scripts/install +++ b/scripts/install @@ -287,7 +287,8 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="http" +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started Distbin Service" +sleep 10 #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index d440e01..79ce708 100644 --- a/scripts/restore +++ b/scripts/restore @@ -140,7 +140,8 @@ chown -R "$app":"$app" "/var/log/$app" # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="http" +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started Distbin Service" +sleep 10 #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 80f5908..d88779f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -213,7 +213,8 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="http" +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started Distbin Service" +sleep 10 #================================================= # END OF SCRIPT