1. Just type the path of the directory in front of where the command is run in, instead of just service httpd restart
2. Throw it in your startup scripts usually found in your /etc/rc.d with whatever runlevel your server starts in.. or usually can be thrown into your rc.local file.
|