1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minetest_ynh.git synced 2024-09-03 20:36:00 +02:00

Fix log_path

This commit is contained in:
Rafi594 2019-10-24 15:15:40 +02:00
parent 4648784dfc
commit 5125a47ee4
5 changed files with 5 additions and 5 deletions

View file

@ -77,6 +77,6 @@ ynh_backup --src_path="/etc/systemd/system/$app.service"
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================
# Restart Minetest # 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)." ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."

View file

@ -60,7 +60,7 @@ ynh_replace_string --match_string="$old_domain" --replace_string="$new_domain" -
#================================================= #=================================================
ynh_print_info --message="Reloading Minetest..." 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 # END OF SCRIPT

View file

@ -268,7 +268,7 @@ yunohost service add $app --log "/var/log/$app/minetest.log"
#================================================= #=================================================
ynh_print_info --message="Reloading minetest..." 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 # END OF SCRIPT

View file

@ -109,7 +109,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
#================================================= #=================================================
ynh_print_info --message="Reloading minetest..." 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 # END OF SCRIPT

View file

@ -181,7 +181,7 @@ chown -R $app: $home_path
#================================================= #=================================================
ynh_print_info --message="Restarting Minetest..." 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 # END OF SCRIPT