diff --git a/scripts/install b/scripts/install index 17895fe..badb5f0 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ yunohost service add "$app@$app" --log "$data_path/home-assistant.log" --descrip # start systemd service ynh_script_progression --message="Starting the Home Assistant server..." -ynh_systemd_action --service_name="$app@$app" --action=start --line_to_match="Home Assistant initialized" --log_path="systemd" --timeout=1000 +ynh_systemd_action --service_name="$app@$app" --action=start --line_match="Home Assistant initialized" --log_path="systemd" --timeout=1000 # create a dedicated nginx config ynh_script_progression --message="Configuring nginx web server..." diff --git a/scripts/restore b/scripts/restore index 7cf9410..02b6fb0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -54,7 +54,7 @@ ynh_exec_fully_quiet yunohost firewall allow TCP $port yunohost service add "$app@$app" --log "$data_path/home-assistant.log" --description "Home Assistant server" # enable & restart systemd service -ynh_systemd_action --service_name="$app@$app" --action=start --line_to_match="Home Assistant initialized" --log_path="systemd" --timeout=1000 +ynh_systemd_action --service_name="$app@$app" --action=start --line_match="Home Assistant initialized" --log_path="systemd" --timeout=1000 # reload nginx ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index 958e056..f525f5f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,7 +67,7 @@ ynh_add_systemd_config --service="$app@$app" # start systemd service ynh_script_progression --message="Starting the Home Assistant server..." -ynh_systemd_action --service_name="$app@$app" --action=start --line_to_match="Home Assistant initialized" --log_path="systemd" --timeout=1000 +ynh_systemd_action --service_name="$app@$app" --action=start --line_match="Home Assistant initialized" --log_path="systemd" --timeout=1000 # create a dedicated nginx config ynh_script_progression --message="Configuring nginx web server..."