diff --git a/scripts/install b/scripts/install index 64dc627..3bcce28 100644 --- a/scripts/install +++ b/scripts/install @@ -322,4 +322,4 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --line_match="http://localhost:" diff --git a/scripts/restore b/scripts/restore index 48de77c..9b16496 100644 --- a/scripts/restore +++ b/scripts/restore @@ -143,4 +143,4 @@ chown -R "$app":"$app" "/var/log/$app" # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --line_match="http://localhost:"