diff --git a/scripts/install b/scripts/install index 2ec0832..2973c62 100644 --- a/scripts/install +++ b/scripts/install @@ -82,6 +82,10 @@ 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_match="Home Assistant initialized" --log_path="systemd" --timeout=1000 +# remove --verbose from service +ynh_replace_string " --verbose" "" "/etc/systemd/system/$app@$app.service" +systemctl daemon-reload +ynh_systemd_action --service_name="$app@$app" --action=restart # create a dedicated nginx config ynh_script_progression --message="Configuring nginx web server..." diff --git a/scripts/upgrade b/scripts/upgrade index 0c06c4b..b89c493 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,6 +68,10 @@ 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_match="Home Assistant initialized" --log_path="systemd" --timeout=1000 +# remove --verbose from service +ynh_replace_string " --verbose" "" "/etc/systemd/system/$app@$app.service" +systemctl daemon-reload +ynh_systemd_action --service_name="$app@$app" --action=restart # create a dedicated nginx config ynh_script_progression --message="Configuring nginx web server..."