To restart the server using inittab, include the following text on one line in the /etc/inittab file:
http:23:respawn:server_root/type-identifier/start -start -i
where server_root is the directory where you installed the server, and type-identifier is the server’s directory.
The -i option prevents the server from putting itself in a background process.
Remove this line before you stop the server.