Obtaining a script files for shortcuts to the above commands

The above commands are tedious to type all the time. It is possible to create small executable script files that will simplify managing the server

I have written a script that can do all of the above, and more. It has five options: start, stop, hup, pid, info.

start
start the server
stop
stop the server
hup
make the server reread its configuration files
pid
display the process ID of the main server
info
display the pid and start time of all the servers in your pool.

To get a copy of this

To execute this command, just change to your server directory and type ./ followed by the script name and the option. For example