first re-commit.
This commit is contained in:
15
startserver.sh
Normal file
15
startserver.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
# create resources
|
||||
ulimit -c unlimited
|
||||
ulimit -n 2048
|
||||
|
||||
# kill old stuff
|
||||
kill -9 `pidof server`
|
||||
kill -9 `pidof -x restarter.sh`
|
||||
|
||||
# run restarter
|
||||
nohup ./restarter.sh &
|
||||
|
||||
|
Reference in New Issue
Block a user