diff --git a/scripts/backup b/scripts/backup index 5508634..635b6cc 100755 --- a/scripts/backup +++ b/scripts/backup @@ -77,6 +77,6 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" # END OF SCRIPT #================================================= # Restart Minetest -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/minetest.log" ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." diff --git a/scripts/change_url b/scripts/change_url index e458bd3..e1bf314 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..." -ynh_systemd_action --service_name=$app --action="restart" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="restart" --log_path="/var/log/$app/minetest.log" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index 72d7dc1..f69a167 100755 --- a/scripts/install +++ b/scripts/install @@ -268,7 +268,7 @@ yunohost service add $app --log "/var/log/$app/minetest.log" #================================================= ynh_print_info --message="Reloading minetest..." -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/minetest.log" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 16332e8..8bee0fa 100755 --- a/scripts/restore +++ b/scripts/restore @@ -109,7 +109,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app" #================================================= ynh_print_info --message="Reloading minetest..." -ynh_systemd_action --service_name=$app --action="restart" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="restart" --log_path="/var/log/$app/minetest.log" #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 80e7fc9..3676161 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -181,7 +181,7 @@ chown -R $app: $home_path #================================================= ynh_print_info --message="Restarting Minetest..." -ynh_systemd_action --service_name=$app --action="restart" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="restart" --log_path="/var/log/$app/minetest.log" #================================================= # END OF SCRIPT