From 4c622196a65a0f14bff86e421da6545a6064964f Mon Sep 17 00:00:00 2001 From: Rafi594 Date: Wed, 23 Oct 2019 15:23:05 +0200 Subject: [PATCH] Fixes --- scripts/change_url | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 776d535..eb018a3 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -60,7 +60,7 @@ ynh_replace_string --match_string="$old_domain" --replace_string="$new_domain" - #================================================= ynh_print_info --message="Reloading Minetest..." -systemctl start $app +systemctl restart $app #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 2cf195f..25810e2 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -180,7 +180,7 @@ chown -R $app: $home_path #================================================= ynh_print_info --message="Restarting Minetest..." -systemctl restart $app +ynh_systemd_action --action=restart --line_match="Server for gameid="$app" listening on :::30000." --log_path="/var/log/$app/minetest.log" #================================================= # END OF SCRIPT