On Wed, May 04, 2005 at 10:36:28PM +0200, Marcin Juszkiewicz wrote: > Package: apache2 > Version: 2.0.54-2 > Severity: wishlist > > On my system I use thttpd for HTTP server as it fullfill my needs in > normal days. But sometimes I'm working on PHP projects at home so I need > to start Apache2 with PHP support. > > I do "sudo /etc/init.d/thttpd stop" to hald thttpd server and I want to > be able to start Apache2 by "sudo /etc/init.d/apache2 start". But all > what I get is: > > Not starting apache2 - edit /etc/default/apache2 and change NO_START to be 0. > > But when I change it to NO_START=0 then Apache2 will try to start during > boot which is what I dont want to happen (thttpd already listen on port > 80). > > Changing it before and after work is an option but does it have to? > Other daemons can be switched off using /etc/default/* file and started > by hand...
Well, after all you seem to prefer to use an _init_ script ... Why don't you use /usr/sbin/apache2ctl ? That's the program to start/stop Apache outside of the runlevel setup. HTH Ralf Mattes > -- System Information: > Debian Release: unstable > APT prefers unstable > APT policy: (500, 'unstable'), (1, 'experimental') > Architecture: i386 (i686) > Kernel: Linux 2.6.12-rc3 > Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=ISO-8859-2) (ignored: > LC_ALL set to pl_PL) > > Versions of packages apache2 depends on: > ii apache2-mpm-prefork 2.0.54-2 traditional model for Apache2 > > -- no debconf information > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]