summaryrefslogtreecommitdiff
path: root/herculeswrapper/map.sh
diff options
context:
space:
mode:
Diffstat (limited to 'herculeswrapper/map.sh')
-rwxr-xr-xherculeswrapper/map.sh61
1 files changed, 4 insertions, 57 deletions
diff --git a/herculeswrapper/map.sh b/herculeswrapper/map.sh
index 055acd7..ffd7e76 100755
--- a/herculeswrapper/map.sh
+++ b/herculeswrapper/map.sh
@@ -28,12 +28,12 @@ while [ 1 ] ; do
101)
echo "Restarting all servers..."
send_all_pipes "restart"
- sleep 5s
+ sleep 7s
;;
102)
- echo "Restarting chat and map servers..."
+ echo "Restarting char and map servers..."
send_char_pipe "restart"
- sleep 3s
+ sleep 5s
;;
103)
echo "Restarting map server..."
@@ -43,60 +43,7 @@ while [ 1 ] ; do
pull_all
echo "Restarting all servers..."
send_all_pipes "restart"
- sleep 5s
- ;;
- 105)
- echo "Build all servers"
- sleep 5s
- build_all
- echo "Restarting all servers..."
- send_all_pipes "restart"
- sleep 5s
- ;;
- 106)
- echo "Rebuild all servers"
- sleep 5s
- build_clean
- build_all
- echo "Restarting all servers..."
- send_all_pipes "restart"
- sleep 5s
- ;;
- 107)
- echo "git pull..."
- pull_all
- echo "Build all servers"
- build_all
- echo "Restarting all servers..."
- send_all_pipes "restart"
- sleep 5s
- ;;
- 108)
- echo "git pull..."
- pull_all
- echo "Rebuild all servers"
- build_clean
- build_all
- echo "Restarting all servers..."
- send_all_pipes "restart"
- sleep 5s
- ;;
- 109)
- echo "Build plugin"
- sleep 5s
- build_plugin
- echo "Restarting all servers..."
- send_all_pipes "restart"
- sleep 5s
- ;;
- 110)
- echo "git pull..."
- pull_all
- echo "Build plugin"
- build_plugin
- echo "Restarting all servers..."
- send_all_pipes "restart"
- sleep 5s
+ sleep 7s
;;
esac
done