Linux Start/Stop script
I have been using the same start script for a while now and I finally decided to modify it and make it my own.
File: EQServer.sh Code:
ulimit -c unlimited Usage: Code:
./EQServer.sh [start|stop|reload|restart|status|help] --Webbe |
Yeah, that old startup script has been around forever, I don't even know who wrote it originally. Good work modernizing it some, I especially like the status addition.
|
Yeah, I got tire of doing ps to try and figure out what isn't running lol. I'd eventually like to add other status like #of zones etc. in time.
|
https://gist.github.com/mackal/7994207
Made some changes to it. Including using pgrep to count how many zones are up :P (note, you might have to use the commented one on CentOS etc since they use a different version of pgrep) |
I updated it to include loginserver and ucs. This was tested on Ubuntu.
Code:
ulimit -c unlimited |
All times are GMT -4. The time now is 08:53 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.