You can restart the server using one of the following methods:
Restart it manually.
Automatically restart it from the inittab file
Note that if you are using a version of UNIX or Linux not derived from System V (such as SunOS 4.1.3), you will not be able to use the inittab file.
Automatically restart it with daemons in /etc/rc2.d when the system reboots.
Because the installation scripts cannot edit the /etc/rc.local or /etc/inittab files, you must edit those files with a text editor. If you do not know how to edit these files, consult your system administrator or system documentation.
Log in as root if the server runs on ports with numbers lower than 1024; otherwise, log in as root or with the servers user account.
At the command-line prompt, type the following line and press Enter:
server_root/proxy-serverid/restart
where server_root is the directory where you installed the server.
You can use the optional parameter -i at the end of the line. The -i option runs the server in inittab mode, so that if the server process is ever killed or crashed, inittab will restart the server for you. This option also prevents the server from putting itself in a background process.
Add the following text on one line in the /etc/inittab file:
prxy:23:respawn:server_root/proxy-serverid/start -start -i
where server_root is the directory where you installed the server, and proxy-serverid is the server’s directory.
The -i option prevents the server from putting itself in a background process.
You must remove this line before you stop the server.
If you use /etc/rc.local, or your system’s equivalent, place the following line in /etc/rc.local:
server_root/proxy-serverid/start
Replace server_root with the directory where you installed the server.