mirror of
https://github.com/YunoHost-Apps/homeassistant_ynh.git
synced 2024-09-03 19:26:16 +02:00
Fix
This commit is contained in:
parent
407559b6d7
commit
be774783ff
1 changed files with 4 additions and 1 deletions
|
@ -70,7 +70,6 @@ ynh_replace_string --match_string=" --verbose" --replace_string="" --target_file
|
|||
ynh_store_file_checksum --file="/etc/systemd/system/$app@$app.service"
|
||||
systemctl daemon-reload
|
||||
ynh_systemd_action --service_name="$app@$app" --action=restart
|
||||
sleep 60s
|
||||
|
||||
# restore logrotate
|
||||
ynh_script_progression --message="Restoring logrotate..."
|
||||
|
@ -81,4 +80,8 @@ ynh_script_progression --message="Restoring nginx web server..."
|
|||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
# access url (first try always failed to Nginx page)
|
||||
ynh_script_progression --message="Opening $app local page..."
|
||||
ynh_exec_fully_quiet ynh_local_curl
|
||||
|
||||
ynh_script_progression --message="Recovery of $app completed" --last
|
||||
|
|
Loading…
Add table
Reference in a new issue