With a little side of applesauce...

Monday, May 21, 2007

CentOs - starting httpd at startup

As I am a Debian dude, I had to google on the way to start httpd at startup:

/usr/sbin/ntsysv

is the simplest way to add a daemon to start at startup... You can also use chkconfig, or the:

Applications->System Settings->Server Settings->Services

GUI tool to control this as well. According to this page:
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-apache-startstop.html

The tools listed above add and remove symlinks into the rcN.d directories... Yikes! I miss my /etc/default/ files in Debian :)

No comments: