Toggling start-up services

Ruben Laban r.laban at ism.nl
Mon Oct 22 08:47:35 UTC 2007


On Monday 22 October 2007, Gabriel Dragffy wrote:
> On 21 Oct 2007, at 22:07, Corey Bettenhausen wrote:
> > Gabriel Dragffy wrote:
> >> On 21 Oct 2007, at 18:25, Denny Schierz wrote:
> >>> hi,
> >>>
> >>> Gabriel Dragffy schrieb:
> >>>> you simple edit rc.conf and change mysql_enable="YES" to NO. What's
> >>>> the deal with Ubuntu?
> >>>
> >>> update-rc.d -f mysql remove
> >>
> >> Hello Denny
> >>
> >> Thank you for your reply. Just so I know, what would the command be
> >> to enable it again, please?
> >
> > Via the terminal, I've always used:
> > /etc/init.d/mysql start
> > -Corey
>
> But that wouldn't added the startup scripts back to rc.d would it?

To have it auto-start again:
$ sudo update-rc.d mysql defaults

For more options:
$ man update-rc.d 

HTH,
-- 
Ruben




More information about the ubuntu-users mailing list