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

Re: Default & supported service manager in Wheezy



On Fri, 09 May 2014 17:24:13 +1000
Scott Ferguson <scott.ferguson.debian.user@gmail.com> wrote:

> On 09/05/14 16:19, Mihamina Rakotomandimby wrote:
> > Hi all,
> > 
> > A long time ago, when I was young ;-), services used to be managed with
> > "invoke-rc.d" & "update-rc.d" on Debian.

> > 
> > Know playing with several distributions, some use "service", "sysctl",
> > "systemctl", and some of them are mentionned for managing services in
> > Debian.
> > 
> > Typically, on a Debian when I "a2ensite", there is a message indicating
> > to "service apache2 reload" in order to fullfill the new VirtualHost
> > consideration.
> > 
> > I would like to stick with the "native" tools for each distribution I
> > manage: On Wheezy what is the right one? What is wrapping what?

No one knows it :)

On Wheezy, you can use:

invoke-rc.d <service> <action>
service <service> <action>
/etc/init.d/<service> <action>

But Jessy will use systemd - systemctl.

> 
> Good question to which I'd like to know a definitive answer.
> 
> Where the service exists in `ls /etc/init.d` I control
> (start/stop/restart/status whatever the service allows) it from there.
> 
> > 
> > Thank you.
> > 
> > 
> 
> 
> Kind regards
> 



-- 
http://markorandjelovic.hopto.org

One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
    Ivo Andric, "Signs near the travel-road"


Reply to: