apache auto start and service

Michael Torrie torriem at chem.byu.edu
Wed Mar 14 20:10:49 MDT 2007

On Wed, 2007-03-14 at 18:42 -0600, Charles Curley wrote:
> On Wed, Mar 14, 2007 at 03:24:55PM -0600, Wade Preston Shearer wrote:
> > >chkconfig merely manipulates the files and symlinks located
> > >in /etc/init.d and /etc/rc[0-6].d folders (well and
> > >sometimes /etc/xinet.d/stuff).  You'll have to check in /etc/init.d to
> > >see what script corresponds to httpd.  Likely you'll want to make sure
> > >your custom init script is called "httpd-custom" or something and then
> > >configure it separately.  Configure httpd to be off all the time and
> > >httpd-custom to be on at the appropriate runlevel.
> > 
> > Thanks to the help of the amazing Jared Smith, I figured out the  
> > problem. When yum ran, the new httpd rpm renamed my custom init  
> > script to httpd.rpmsave and wrote out a new standard one as httpd.  
> > So, after changing httpd to httpd.stock and httpd.rpmsave to httpd,  
> > everything is back to normal.
> > 
> And what do you think will happen on the next update?

Definitely you'll want to change your init script to another name, and
enable that with sysconfig, as I suggested above.


> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */

More information about the PLUG mailing list