diff --git a/scripts/restore b/scripts/restore index b3b958a..cd910ac 100755 --- a/scripts/restore +++ b/scripts/restore @@ -32,7 +32,7 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./ ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" -ynh_restore_file --src_path "/etc/nginx/conf.d/monitorix_status.conf" +ynh_restore_file --origin_path "/etc/nginx/conf.d/monitorix_status.conf" ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet