Re: init.d

[prev] [thread] [next] [lurker] [Date index for 2006/06/23]

From: Rafael Garcia-Suarez
Subject: Re: init.d
Date: 15:41 on 23 Jun 2006
On 23/06/06, Paul Orrock <paulo@xxxxxxxxxxxxxxxx.xxx> wrote:
> > $ sudo /etc/init.d/apache2  start
> > Not starting apache2 - edit /etc/default/apache2 and change NO_START to
> > be 0.
>
> You're using the init (boot start up) system to try and start it as though it were being booted via init.d and it's rightly telling you "You've told me not to start on boot so I won't"
>
> What you want to do is start apache outside the boot system using the normal apache2ctl script

But isn't this the purpose of the sys-v style initscripts to configure
what to start and at which runlevel, without having to edit
configuration files (with double negatives, yuck)... So, that
debian-cumbersome-packaging-of-apache hate is justified.
There's stuff above here

Generated at 04:01 on 28 Jun 2006 by mariachi 0.52