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:
parent
7c63a88028
commit
c6629f129d
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ ynh_exec_fully_quiet yunohost firewall allow TCP $port
|
||||||
# add service in admin panel
|
# add service in admin panel
|
||||||
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
|
# start systemd service
|
||||||
ynh_systemd_action --service_name="$app@$app" --action=start --line_match="Home Assistant initialized" --log_path="systemd" --timeout=1000
|
ynh_systemd_action --service_name="$app@$app" --action=start
|
||||||
|
|
||||||
# reload nginx
|
# reload nginx
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
Loading…
Add table
Reference in a new issue