[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Comment ne plus demarrer apache par default ?



On Sat, Jul 06, 2002 at 06:34:25PM +0200, Eric Dillenseger wrote:
> Si tu lis bien le man, y a marqué que si le script est encore dans
> /etc/init.d, il faut utiliser l'option -f pour enlever les symlinks des
> /etc/rc?.d
> 
> *** Man update-rc.d ***
> OPTIONS
>        -n     Don't do anything, just show what we would do.
> 
>        -f     Force removal of symlinks even if /etc/init.d/name
> 	      still exists.
> *** Fin ***
> 
> Ce qui donne: update-rc.d -f apache remove
Petit complément qui m'est venu par la suite:
comme update-rc.d t'enlèvera les symlinks de tous les runlevel, tu peux
toujours te faire des alias pour lancer/stopper apache.
root@passoire ~: /etc/init.d/apache
Usage: /etc/init.d/apache {start|stop|...
donc alias sapache='/etc/init.d/apache start'
     alias kapache='/etc/init.d/apache stop'
A toi de voir.
-- 
<Raphit> brets : je m'apprêtais à le faire à la main
<Raphit> comme font les vrais hommes

Attachment: pgpIBRTILHjbX.pgp
Description: PGP signature


Reply to: