mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
Fix systemd restart message
This commit is contained in:
parent
017e21b1d5
commit
13394312d7
3 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ yunohost service add "$app@$app" --log "$data_path/home-assistant.log"
|
|||
|
||||
# enable & restart systemd service
|
||||
ynh_system_reload --service_name="$app@$app" --action=enable
|
||||
ynh_check_starting --line_to_match="Home Assistant initialized in " --app_log="systemd" --timeout=1000 --service_name="$app@$app"
|
||||
ynh_check_starting --line_to_match="Home Assistant initialized" --app_log="systemd" --timeout=1000 --service_name="$app@$app"
|
||||
|
||||
# create a dedicated nginx config
|
||||
ynh_add_nginx_config
|
||||
|
|
|
@ -59,7 +59,7 @@ yunohost service add "$app@$app" --log "$data_path/home-assistant.log"
|
|||
|
||||
# enable & restart systemd service
|
||||
ynh_system_reload --service_name="$app@$app" --action=enable
|
||||
ynh_check_starting --line_to_match="Home Assistant initialized in " --app_log="systemd" --timeout=1000 --service_name="$app@$app"
|
||||
ynh_check_starting --line_to_match="Home Assistant initialized" --app_log="systemd" --timeout=1000 --service_name="$app@$app"
|
||||
|
||||
# reload nginx
|
||||
ynh_system_reload --service_name=nginx
|
||||
|
|
|
@ -47,7 +47,7 @@ ynh_add_systemd_config "$app@$app"
|
|||
|
||||
# enable & restart systemd service
|
||||
ynh_system_reload --service_name="$app@$app" --action=enable
|
||||
ynh_check_starting --line_to_match="Home Assistant initialized in " --app_log="systemd" --timeout=1000 --service_name="$app@$app"
|
||||
ynh_check_starting --line_to_match="Home Assistant initialized" --app_log="systemd" --timeout=1000 --service_name="$app@$app"
|
||||
|
||||
# create a dedicated nginx config
|
||||
ynh_add_nginx_config
|
||||
|
|
Loading…
Reference in a new issue