1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Fix restore

This commit is contained in:
ewilly 2020-08-14 22:09:32 +02:00
parent 7c63a88028
commit c6629f129d

View file

@ -53,8 +53,8 @@ ynh_exec_fully_quiet yunohost firewall allow TCP $port
# add service in admin panel
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_match="Home Assistant initialized" --log_path="systemd" --timeout=1000
# start systemd service
ynh_systemd_action --service_name="$app@$app" --action=start
# reload nginx
ynh_systemd_action --service_name=nginx --action=reload