Announcing daemontools encore

Bruce Guenter <[email protected]> Fri, 9 Jul 2010 11:02:10 -0600
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
--Fba/0zbH8Xs+Fj9o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

daemontools-encore is a collection of tools for managing UNIX services.
It is derived from the public-domain release of daemontools by D. J.
Bernstein, which can be found at http://cr.yp.to/daemontools.html

daemontools-encore adds numerous enhancements above what daemontools
could do while maintaining backwards compatibility with daemontools.
See the CHANGES file for more details on what features have been added.

I realize there are other supervisory systems that will handle some or=20
all of the tasks that this package does better.  I am providing this
package as a service to those who prefer the semantics and handling that
daemontools provides.

Official release can be found at:

	http://untroubled.org/daemontools-encore/

Development versions are available via git from:

	http://untroubled.org/git/daemontools-encore.git

Changes between daemontools-0.76 and daemontools-encore
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

Added support to supervise/svc for sending SIGQUIT/USR1/USR2/WINCH.
(original patch by Wayne Marshall, based on patch by Scott Gifford)

Modified supervise to automatically put the forked service into its own
process group to facilitate sending signals to the group.

Added support to supervise/svc for sending signals to the group.

Added support to softlimit for reading limits from environment variables.

Modified supervise to run "start" once before executing "run" to allow
for single-shot initialization, and to run "stop" after "run" exits for
the last time.  The presence of "run" is also optional.

Modified supervise to stop trying to restart the service if it exits 100.
(semantics borrowed from qmail control files)

Added support to multilog for "accustamp" time stamps.
(derived from patch by Matthias Andree)

Added support to supervise for storing the status files in an alternate
directory specified by $SUPERVISEDIR.

Modified multilog to support specifying an alternate "safely written"
filename extension (useful for compressed logs).

Added extended state information to the supervise/status file and svstat.

Added support to supervise for a "notify" script, executed whenever a
subprocess is started or exits.  If present, it is passed the script
name, "start" or "exit", the PID, and the exit code.

Added support for piping to "log" within supervise.  This requires "log"
to be an executable file (instead of a directory as for svscan).

Modified supervise to overwrite status instead of creating a new file.
This allows the "supervise" subdirectory to be non-writeable.

Added a "svup" tool to determine if a service is running.

Modified svscan to optionally redirect all output through a service.
(adapted from http://www.gluelogic.com/code/daemontools/daemontools-0.76-gp=
s-logging-0.01.patch)
Note that this feature works differently from the GlueLogic
modification.  See the svscan(8) man page for details.

--=20
Bruce Guenter <[email protected]>                http://untroubled.org/

--Fba/0zbH8Xs+Fj9o
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEARECAAYFAkw3VhIACgkQ6W+y3GmZgOg+lACfep//sxKWry6gpf9rxCJvx39G
mVcAniHmT3bb4bUezGJ1jQRLHBa6OR4m
=ilqC
-----END PGP SIGNATURE-----

--Fba/0zbH8Xs+Fj9o--