Re: Default & supported service manager in Wheezy

2014-05-11 Thread Tom H
On Sat, May 10, 2014 at 5:09 PM, Sven Joachim wrote: > On 2014-05-10 22:40 +0200, Tom H wrote: >> On Fri, May 9, 2014 at 2:19 AM, Mihamina Rakotomandimby >> wrote: >>> A long time ago, when I was young ;-), services used to be managed with >>> "invoke-rc.d" & "update-rc.d" on Debian. >> >> I've

Re: Default & supported service manager in Wheezy

2014-05-10 Thread Sven Joachim
On 2014-05-10 22:40 +0200, Tom H wrote: > On Fri, May 9, 2014 at 2:19 AM, Mihamina Rakotomandimby > wrote: > > >> A long time ago, when I was young ;-), services used to be managed with >> "invoke-rc.d" & "update-rc.d" on Debian. > > I've never understood why, but "invoke-rc.d" and "update-rc.d"

Re: Default & supported service manager in Wheezy

2014-05-10 Thread Tom H
On Fri, May 9, 2014 at 3:49 AM, Marko Randjelovic wrote: > On Wheezy, you can use: > > invoke-rc.d > service > /etc/init.d/ "invoke-rc.d" is meant for maintainer scripts and not users (don't ask me why). "/etc/init.d/ " doesn't sanitize the environment. > But Jessy will use systemd - sy

Re: Default & supported service manager in Wheezy

2014-05-10 Thread Tom H
On Fri, May 9, 2014 at 2:19 AM, Mihamina Rakotomandimby wrote: > A long time ago, when I was young ;-), services used to be managed with > "invoke-rc.d" & "update-rc.d" on Debian. I've never understood why, but "invoke-rc.d" and "update-rc.d" are meant for maintainer scripts not users. > Know

Re: Default & supported service manager in Wheezy

2014-05-09 Thread Andrei POPESCU
On Vi, 09 mai 14, 09:19:55, 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 ar

Re: Default & supported service manager in Wheezy

2014-05-09 Thread Scott Ferguson
On 09/05/14 18:43, Kushal Kumaran wrote: > Scott Ferguson writes: > >> 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 distr

Re: Default & supported service manager in Wheezy

2014-05-09 Thread Filip
On Fri, 9 May 2014 10:22:36 +0200 Filip wrote: > If insserv -r removes the link, is there a chance will it get silently > recreated when dpkg updates or reinstalls the package ? That would be > one reason not to use it. So, I did a test. insserv -r does delete the link in all runlevels. And a s

Re: Default & supported service manager in Wheezy

2014-05-09 Thread Kushal Kumaran
Scott Ferguson writes: > 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", >> "system

Re: Default & supported service manager in Wheezy

2014-05-09 Thread Filip
On Fri, 09 May 2014 17:24:13 +1000 Scott Ferguson 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" ... And starting/stopping is one thing, but especially confusing is, how do

Re: Default & supported service manager in Wheezy

2014-05-09 Thread Marko Randjelovic
On Fri, 09 May 2014 17:24:13 +1000 Scott Ferguson 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,

Re: Default & supported service manager in Wheezy

2014-05-09 Thread Scott Ferguson
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 mention