Re: daemontools respin?

Wayne Marshall <[email protected]> Thu, 10 Jun 2010 13:06:32 +0000
Newsgroups gmane.comp.sysutils.bgware
Organization guinix international
Message-ID <[email protected]>
On Wed, 9 Jun 2010 21:35:04 -0600
Bruce Guenter <[email protected]> wrote:

> On Wed, Jun 09, 2010 at 09:19:11PM +0000, Wayne Marshall wrote:
> > It is trivial to drop any existing daemontools service
> > definitions into a perp installation. See the COMPATIBILITY
> > section in perpetrate(5) for examples.
> 
> Well, I would believe simple, but this is a little above what
> I would call trivial.  By drop-in replacements, I mean no
> changes necessary to existing services.
>

Maybe the man page is unclear, but existing daemontools service
definition directories can be copied/untarred verbatim, no
changes whatsoever, into /etc/perp.

All you have to do is cp in the pair of simple, bog standard
rc.main/rc.log template files, as is.  No symlinks, no hassles.
Activate the service with a chmod +t and you are flying.

The main thing is, with perp an administrator can easily preserve
an investment in existing runscripts, yet still get the improved
usability features of the perp framework.

Cheers,

Wayne