pcp
[Top] [All Lists]

Re: [pcp] debian bug #544350 (daemons starting by default)

To: Martin Hicks <mort@xxxxxxx>
Subject: Re: [pcp] debian bug #544350 (daemons starting by default)
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 15 Oct 2009 22:08:46 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <20091013123814.GN11060@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20091013123814.GN11060@xxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: kenj@xxxxxxxxxxxxxxxx
On Tue, 2009-10-13 at 07:38 -0500, Martin Hicks wrote:
> This is a follow-up to a long IRC conversation last night between Mark
> and Nathan on IRC.
> 
> If we need to have runnable init.d scripts for all services, I'm quite
> sure that I've seen debian disable services by having a variable set in
> /etc/default/<service> something like:
> 
> ENABLED=

There does not seem to be any consistency in these scripts, but
something like

PMIE_ENABLED=false

would seem to be readable and sensible ... look to /etc/default/rsync
for an example we could follow.

> and the init.d script checking that before starting the daemon.
> 
> Would this approach suffice for having init.d scripts for pmie and
> pmproxy, without running the daemons?
> 
> mh
> 
> 
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp

<Prev in Thread] Current Thread [Next in Thread>