[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cfengine] Init script for Cfengine 2
From: |
Bas van der Vlies |
Subject: |
Re: [Cfengine] Init script for Cfengine 2 |
Date: |
Fri, 1 Nov 2002 08:58:43 +0100 |
On Thu, 31 Oct 2002 17:10:11 +0000
Andrew Stribblehill <a.d.stribblehill@durham.ac.uk> wrote:
> I have made an init script for Cfengine 2 and wanted to share it with
> you. I'll add it to the Debian package of Cfengine 2 in the next few
> days.
>
> The ugly backgrounding seems to be necessary since the daemons use
> adaptive locks rather than standard PID locks. However, if anyone finds
> a nicer solution, that would be greatly appreciated.
>
>
Andrew,
It is nice to have a init script for cfengine2. I have a few remarks
- You start all the daemons in one script. You do not need
to install all the daemons. So why no use a config file like
most debian packages do in /etc/default/cfengine2 and there we
decide which deamons will be started, eg:
CFEXECD=no
CFSERVD=yes
CFENVD=yes
In the future this can also be used to pass arguments to the daemons.
- In my situation i have a init script for every daemon. That also use
the /etc/default/<daemonname> style. It is just another aproach.
- I do not have problems with the locks if a start the daemons, but
that is just my observation
--
********************************************************************
* *
* Bas van der Vlies e-mail: basv@sara.nl *
* SARA - Academic Computing Services phone: +31 20 592 8012 *
* Kruislaan 415 fax: +31 20 6683167 *
* 1098 SJ Amsterdam *
* *
********************************************************************
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Cfengine] Init script for Cfengine 2,
Bas van der Vlies <=