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