Re: Newbie question: moving from RedHat to Debian
On Wed, 2004-03-17 at 23:30, Monique Y. Herman wrote:
> On 2004-03-17, Roland Dunn penned:
> > - Anyone know of any sites that try to make such moves simple for users -
> > that list some of the common differences between Debian and RedHat?
>
> I don't know about this.
>
> > - On RedHat /etc/rc.d/init.d/ was where you could find scripts to start/stop
> > apache, samba, etc .... where is this on Debian?
>
> /etc/init.d
>
> > - Also on RedHat you could use chkconfig to setup such a script to restart
> > on reboot - is there an equivalent for Debian?
>
> Not exactly. There's an update-rc.d script, but it doesn't work like
> chkconfig. Most people just create the symlinks themselves if they want
> to change something.
[ ... ]
Not all of them, not the lazybones like me:
update-rc.d
I don't use the tool often, but IIRC the few times I used it it did what
it should, i.e. creating the links in /etc/rc[X].d
If my lousy memory serves me well:
To remove links:
update-rc.d -f [script-name from /etc/init.d] remove
To install the links again:
update-rc.d -n [script-name from /etc/init.d] defaults
without the '-n' option
To be sure please
man update-rc.d
HTH
Best Regards
Wolfgang
--
Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer
Reply to: