1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00
This commit is contained in:
ewilly 2020-08-13 21:04:43 +02:00
parent 8e342cc34c
commit 04f7966e55
3 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ yunohost service add "$app@$app" --log "$data_path/home-assistant.log" --descrip
# start systemd service # start systemd service
ynh_script_progression --message="Starting the Home Assistant server..." 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 # create a dedicated nginx config
ynh_script_progression --message="Configuring nginx web server..." ynh_script_progression --message="Configuring nginx web server..."

View file

@ -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" yunohost service add "$app@$app" --log "$data_path/home-assistant.log" --description "Home Assistant server"
# enable & restart systemd service # 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 # reload nginx
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload

View file

@ -67,7 +67,7 @@ ynh_add_systemd_config --service="$app@$app"
# start systemd service # start systemd service
ynh_script_progression --message="Starting the Home Assistant server..." 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 # create a dedicated nginx config
ynh_script_progression --message="Configuring nginx web server..." ynh_script_progression --message="Configuring nginx web server..."