1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minetest_ynh.git synced 2024-09-03 20:36:00 +02:00
This commit is contained in:
Rafi594 2019-10-23 15:27:58 +02:00
parent 4c622196a6
commit 9dfb098df2
3 changed files with 3 additions and 4 deletions

View file

@ -262,8 +262,7 @@ yunohost service add $app --log "/var/log/$app/$app.log"
#================================================= #=================================================
ynh_print_info --message="Reloading minetest..." ynh_print_info --message="Reloading minetest..."
ynh_systemd_action --action=restart --line_match="Server for gameid=minetest listening on :::30000." --log_path="/var/log/$app/minetest.log" ynh_systemd_action --action=restart --line_match="Server for gameid=\"$app\" listening on :::30000." --log_path="/var/log/$app/minetest.log"
sleep 1
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -104,7 +104,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 --action=restart --line_match="Server for gameid="$app" listening on :::30000." --log_path="/var/log/$app/minetest.log" ynh_systemd_action --action=restart --line_match="Server for gameid=\"$app\" listening on :::30000." --log_path="/var/log/$app/minetest.log"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -180,7 +180,7 @@ chown -R $app: $home_path
#================================================= #=================================================
ynh_print_info --message="Restarting Minetest..." ynh_print_info --message="Restarting Minetest..."
ynh_systemd_action --action=restart --line_match="Server for gameid="$app" listening on :::30000." --log_path="/var/log/$app/minetest.log" ynh_systemd_action --action=restart --line_match="Server for gameid=\"$app\" listening on :::30000." --log_path="/var/log/$app/minetest.log"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT