The FreeBSD Ports Archive
FreeBSD sysutils : daemontools4>
Service monitoring and logging utilities by djb
Daemontools is a small set of /very/ useful utilities, from Dan
Bernstein. They are mainly used for controlling processes, and
maintaining logfiles.
http://cr.yp.to/daemontools.html
|
daemontools history
v. 1.26
date: 2007/10/30 10:49:15; author: roam; state: Exp; lines: +6 -1
Add a knob to disable the run-time testsuite, e.g. when building with
a NFS-mounted work directory (prompted by PR 115100).
Add support for logging through multilog instead of readproctitle for
the main svscan process and document the startup script variables
(loosely based on PR 111749).
PR: 111749, 115100
Submitted by: Andrew Hammond,
Charles Sprickman
v. 1.25
date: 2007/10/04 00:08:36; author: edwin; state: Exp; lines: +1 -1
Remove support for OSVERSION < 5
v. 1.24
date: 2006/09/25 11:44:38; author: roam; state: Exp; lines: +13 -4
Add the sigq12 patch, which allows the svc utility to tell supervise to
send SIGQUIT, SIGUSR1, or SIGUSR2 to the daemon process.
OPTIONS'ify - all but the STARTUP_SCRIPT variable, which is a string,
not a flag.
Appease portlint partially - unquote the RESTRICTED message.
Bump PORTREVISION.
Requested by: "Brent B. Powers" (the sigq12 patch)
v. 1.23
date: 2006/09/03 17:35:28; author: kris; state: Exp; lines: +1 -1
RESTRICTED is intended here instead of NO_PACKAGE
v. 1.22
date: 2005/06/07 11:05:09; author: roam; state: Exp; lines: +4 -2
Skip directories with names starting with a dot. [1]
Wihle I'm here, add a STARTUP_SCRIPT knob to specify a different name for
the etc/rc.d/svscan.sh script, e.g. allowing a name like 000.svscan.sh.
PR: 81677 [1]
Submitted by: Renato Botelho [1]
v. 1.21
date: 2005/05/30 11:28:04; author: roam; state: Exp; lines: +1 -1
Remove the duplicate 'Stopping svscan' message on shutdown.
Fix the URL in pkg-descr.
Bump PORTREVISION.
PR: 81665
Submitted by: Renato Botelho
v. 1.20
date: 2004/07/30 17:40:18; author: roam; state: Exp; lines: +1 -1
Fix shutdown on older systems: avoid find's '-depth n' primary.
Reported by: Robin Breathe
v. 1.19
date: 2004/07/27 06:27:07; author: roam; state: Exp; lines: +10 -2
Make the startup script also work on older versions of FreeBSD which
lack the daemon(8) utility.
v. 1.18
date: 2004/07/26 12:48:44; author: roam; state: Exp; lines: +2 -2
- make this script work with the New World Order in /etc/rc.d/localpkg,
where the config files may have been loaded already and our load_rc_config
invocation may do nothing: thus, we need to honor any previously set value
of svscan_enable;
- for some reason svscan_stop_post() does not like the IFS-like vars set by
rc.subr and localpkg; use find/xargs instead of having the shell parse its
own output;
- dequote COMMENT;
- fix the daemon(8)-ization by moving 2>&1 to its proper place, so that the
errors from svscan are actually picked up by readproctitle, as explained
in <20040630175050.GD979@straylight.m.ringlet.net>;
- move the 'Starting svscan' message to its proper place, so that the PATH
set by env(1) affects svscan, not the echo command :)
v. 1.17
date: 2004/07/25 08:52:51; author: nork; state: Exp; lines: +4 -4
o portlint clean. [1]
o print start message. [1]
o daemon(8)'ify. [2]
o bump PORTREVISION accordingly.
PR: ports/68558 [1]
Submitted by: Renato Botelho [1]
myself [2]
Reviewed by: roam [2]
Approved by: roam (blanket)
v. 1.16
date: 2004/06/28 23:56:18; author: roam; state: Exp; lines: +1 -1
Switch from using /bin/csh to /bin/sh, as suggested on -ports.
v. 1.15
date: 2004/06/28 23:07:40; author: roam; state: Exp; lines: +10 -7
USE_RC_SUBR.
Submitted by: nork
v. 1.14
date: 2003/02/19 16:07:29; author: roam; state: Exp; lines: +1 -0
Remove pkg-comment files in my ports.
v. 1.13
date: 2003/01/17 15:06:24; author: roam; state: Exp; lines: +2 -5
Install the sample startup script directly to etc/rc.d/, instead of
putting it into the examples directory, where next to nobody found it.
Requested by: Dan Langille ,
Antoine Beaupre - both months ago
v. 1.12
date: 2002/02/07 14:57:58; author: roam; state: Exp; lines: +17 -1
Install Gerritt Pape's manual pages unless WITHOUT_MAN is defined.
Properly remove the sample svscan.sh script at deinstall time.
v. 1.11
date: 2002/01/28 19:37:14; author: roam; state: Exp; lines: +1 -0
Tweak the startup script so that it is *really* a FreeBSD startup
script; that is, add 'start|stop' argument processing and
the ability to actually stop the script.
Bump PORTREVISION to indicate a functionality change - or rather,
to indicate a change that actually makes this a FreeBSD port..
Final push by: Dan Langille in a somewhat
unrelated e-mail exchange
Obtained from: a svscan SysV init script that I somehow managed
to lose the source and URL for :(
v. 1.10
date: 2002/01/04 14:38:11; author: roam; state: Exp; lines: +14 -6
Update to 0.76.
Assume maintainership.
Reviewed by: nbm
Approved by: nbm
v. 1.9
date: 2001/05/10 07:10:23; author: roam; state: Exp; lines: +2 -1
Almost revert a change made in daemontools-0.70's supervise, where
the one-second sleep between invocations was moved to after the actual
invocation. This sleep could be interrupted by a SIGCHLD in the case
of a failing service, and the service could be restarted way more than
the documented once-per-second. Move the sleep back before the fork(),
just don't sleep before the very first fork, so the service starts faster.
Silence by: Daniel J. Bernstein (no telling if he'll fix this in later
daemontools releases, so I guess we'll have to do it as part
of our port..)
Approved by: nbm (maintainer)
v. 1.8
date: 2000/12/03 05:16:41; author: steve; state: Exp; lines: +2 -2
Put the NO_PACKAGE strings in double quotes to the escaped single quote
becomes just a single quote instead \'.
v. 1.7
date: 2000/07/29 16:27:31; author: nbm; state: Exp; lines: +3 -2
Add the ftp version of the MASTER_SITE, since it is available.
v. 1.6
date: 2000/06/22 09:22:12; author: nbm; state: Exp; lines: +14 -1
Add a sample rc file for svscan startup, in partial fulfillment of the
PR. I'll leave the creation of the directory, whatever it may be, to
the user.
PR: ports/19191
Submitted by: Mario Sergio Fujikawa Ferreira
v. 1.5
date: 2000/04/27 21:43:32; author: nbm; state: Exp; lines: +11 -12
Update to (non-backwards-compatible) daemontools 0.70, and take over
MAINTAINERship.
PR: 16580
v. 1.4
date: 2000/04/22 10:11:59; author: mharo; state: Exp; lines: +5 -5
Corrrect whitespace introduced during PORTNAME conversion and portlint
v. 1.3
date: 2000/04/09 19:07:28; author: cpiazza; state: Exp; lines: +3 -3
Update with the new PORTNAME/PORTVERSION variable
v. 1.2
date: 1999/08/31 01:59:40; author: peter; state: Exp; lines: +1 -1
$Id$ -> $FreeBSD$
v. 1.1
date: 1998/06/16 07:47:02; author: dburr; state: Exp;
branches: 1.1.1;
Initial revision
v. 1.1.1.1
date: 1998/06/16 07:47:02; author: dburr; state: Exp; lines: +0 -0
PR: ports/6899
Submitted by: Dom Mitchell
Import of new port sysutils/daemontools, a set of
service (daemon) monitoring and logging tools.
=============================================================================
v. 1.26
date: 2007/10/30 10:49:15; author: roam; state: Exp; lines: +6 -1
Add a knob to disable the run-time testsuite, e.g. when building with
a NFS-mounted work directory (prompted by PR 115100).
Add support for logging through multilog instead of readproctitle for
the main svscan process and document the startup script variables
(loosely based on PR 111749).
PR: 111749, 115100
Submitted by: Andrew Hammond,
Charles Sprickman
v. 1.25
date: 2007/10/04 00:08:36; author: edwin; state: Exp; lines: +1 -1
Remove support for OSVERSION < 5
v. 1.24
date: 2006/09/25 11:44:38; author: roam; state: Exp; lines: +13 -4
Add the sigq12 patch, which allows the svc utility to tell supervise to
send SIGQUIT, SIGUSR1, or SIGUSR2 to the daemon process.
OPTIONS'ify - all but the STARTUP_SCRIPT variable, which is a string,
not a flag.
Appease portlint partially - unquote the RESTRICTED message.
Bump PORTREVISION.
Requested by: "Brent B. Powers" (the sigq12 patch)
v. 1.23
date: 2006/09/03 17:35:28; author: kris; state: Exp; lines: +1 -1
RESTRICTED is intended here instead of NO_PACKAGE
v. 1.22
date: 2005/06/07 11:05:09; author: roam; state: Exp; lines: +4 -2
Skip directories with names starting with a dot. [1]
Wihle I'm here, add a STARTUP_SCRIPT knob to specify a different name for
the etc/rc.d/svscan.sh script, e.g. allowing a name like 000.svscan.sh.
PR: 81677 [1]
Submitted by: Renato Botelho [1]
v. 1.21
date: 2005/05/30 11:28:04; author: roam; state: Exp; lines: +1 -1
Remove the duplicate 'Stopping svscan' message on shutdown.
Fix the URL in pkg-descr.
Bump PORTREVISION.
PR: 81665
Submitted by: Renato Botelho
v. 1.20
date: 2004/07/30 17:40:18; author: roam; state: Exp; lines: +1 -1
Fix shutdown on older systems: avoid find's '-depth n' primary.
Reported by: Robin Breathe
v. 1.19
date: 2004/07/27 06:27:07; author: roam; state: Exp; lines: +10 -2
Make the startup script also work on older versions of FreeBSD which
lack the daemon(8) utility.
v. 1.18
date: 2004/07/26 12:48:44; author: roam; state: Exp; lines: +2 -2
- make this script work with the New World Order in /etc/rc.d/localpkg,
where the config files may have been loaded already and our load_rc_config
invocation may do nothing: thus, we need to honor any previously set value
of svscan_enable;
- for some reason svscan_stop_post() does not like the IFS-like vars set by
rc.subr and localpkg; use find/xargs instead of having the shell parse its
own output;
- dequote COMMENT;
- fix the daemon(8)-ization by moving 2>&1 to its proper place, so that the
errors from svscan are actually picked up by readproctitle, as explained
in <20040630175050.GD979@straylight.m.ringlet.net>;
- move the 'Starting svscan' message to its proper place, so that the PATH
set by env(1) affects svscan, not the echo command :)
v. 1.17
date: 2004/07/25 08:52:51; author: nork; state: Exp; lines: +4 -4
o portlint clean. [1]
o print start message. [1]
o daemon(8)'ify. [2]
o bump PORTREVISION accordingly.
PR: ports/68558 [1]
Submitted by: Renato Botelho [1]
myself [2]
Reviewed by: roam [2]
Approved by: roam (blanket)
v. 1.16
date: 2004/06/28 23:56:18; author: roam; state: Exp; lines: +1 -1
Switch from using /bin/csh to /bin/sh, as suggested on -ports.
v. 1.15
date: 2004/06/28 23:07:40; author: roam; state: Exp; lines: +10 -7
USE_RC_SUBR.
Submitted by: nork
v. 1.14
date: 2003/02/19 16:07:29; author: roam; state: Exp; lines: +1 -0
Remove pkg-comment files in my ports.
v. 1.13
date: 2003/01/17 15:06:24; author: roam; state: Exp; lines: +2 -5
Install the sample startup script directly to etc/rc.d/, instead of
putting it into the examples directory, where next to nobody found it.
Requested by: Dan Langille ,
Antoine Beaupre - both months ago
v. 1.12
date: 2002/02/07 14:57:58; author: roam; state: Exp; lines: +17 -1
Install Gerritt Pape's manual pages unless WITHOUT_MAN is defined.
Properly remove the sample svscan.sh script at deinstall time.
v. 1.11
date: 2002/01/28 19:37:14; author: roam; state: Exp; lines: +1 -0
Tweak the startup script so that it is *really* a FreeBSD startup
script; that is, add 'start|stop' argument processing and
the ability to actually stop the script.
Bump PORTREVISION to indicate a functionality change - or rather,
to indicate a change that actually makes this a FreeBSD port..
Final push by: Dan Langille in a somewhat
unrelated e-mail exchange
Obtained from: a svscan SysV init script that I somehow managed
to lose the source and URL for :(
v. 1.10
date: 2002/01/04 14:38:11; author: roam; state: Exp; lines: +14 -6
Update to 0.76.
Assume maintainership.
Reviewed by: nbm
Approved by: nbm
v. 1.9
date: 2001/05/10 07:10:23; author: roam; state: Exp; lines: +2 -1
Almost revert a change made in daemontools-0.70's supervise, where
the one-second sleep between invocations was moved to after the actual
invocation. This sleep could be interrupted by a SIGCHLD in the case
of a failing service, and the service could be restarted way more than
the documented once-per-second. Move the sleep back before the fork(),
just don't sleep before the very first fork, so the service starts faster.
Silence by: Daniel J. Bernstein (no telling if he'll fix this in later
daemontools releases, so I guess we'll have to do it as part
of our port..)
Approved by: nbm (maintainer)
v. 1.8
date: 2000/12/03 05:16:41; author: steve; state: Exp; lines: +2 -2
Put the NO_PACKAGE strings in double quotes to the escaped single quote
becomes just a single quote instead \'.
v. 1.7
date: 2000/07/29 16:27:31; author: nbm; state: Exp; lines: +3 -2
Add the ftp version of the MASTER_SITE, since it is available.
v. 1.6
date: 2000/06/22 09:22:12; author: nbm; state: Exp; lines: +14 -1
Add a sample rc file for svscan startup, in partial fulfillment of the
PR. I'll leave the creation of the directory, whatever it may be, to
the user.
PR: ports/19191
Submitted by: Mario Sergio Fujikawa Ferreira
v. 1.5
date: 2000/04/27 21:43:32; author: nbm; state: Exp; lines: +11 -12
Update to (non-backwards-compatible) daemontools 0.70, and take over
MAINTAINERship.
PR: 16580
v. 1.4
date: 2000/04/22 10:11:59; author: mharo; state: Exp; lines: +5 -5
Corrrect whitespace introduced during PORTNAME conversion and portlint
v. 1.3
date: 2000/04/09 19:07:28; author: cpiazza; state: Exp; lines: +3 -3
Update with the new PORTNAME/PORTVERSION variable
v. 1.2
date: 1999/08/31 01:59:40; author: peter; state: Exp; lines: +1 -1
$Id$ -> $FreeBSD$
v. 1.1
date: 1998/06/16 07:47:02; author: dburr; state: Exp;
branches: 1.1.1;
Initial revision
v. 1.1.1.1
date: 1998/06/16 07:47:02; author: dburr; state: Exp; lines: +0 -0
PR: ports/6899
Submitted by: Dom Mitchell
Import of new port sysutils/daemontools, a set of
service (daemon) monitoring and logging tools.
=============================================================================
v. 1.26
date: 2007/10/30 10:49:15; author: roam; state: Exp; lines: +6 -1
Add a knob to disable the run-time testsuite, e.g. when building with
a NFS-mounted work directory (prompted by PR 115100).
Add support for logging through multilog instead of readproctitle for
the main svscan process and document the startup script variables
(loosely based on PR 111749).
PR: 111749, 115100
Submitted by: Andrew Hammond,
Charles Sprickman
v. 1.25
date: 2007/10/04 00:08:36; author: edwin; state: Exp; lines: +1 -1
Remove support for OSVERSION < 5
v. 1.24
date: 2006/09/25 11:44:38; author: roam; state: Exp; lines: +13 -4
Add the sigq12 patch, which allows the svc utility to tell supervise to
send SIGQUIT, SIGUSR1, or SIGUSR2 to the daemon process.
OPTIONS'ify - all but the STARTUP_SCRIPT variable, which is a string,
not a flag.
Appease portlint partially - unquote the RESTRICTED message.
Bump PORTREVISION.
Requested by: "Brent B. Powers" (the sigq12 patch)
v. 1.23
date: 2006/09/03 17:35:28; author: kris; state: Exp; lines: +1 -1
RESTRICTED is intended here instead of NO_PACKAGE
v. 1.22
date: 2005/06/07 11:05:09; author: roam; state: Exp; lines: +4 -2
Skip directories with names starting with a dot. [1]
Wihle I'm here, add a STARTUP_SCRIPT knob to specify a different name for
the etc/rc.d/svscan.sh script, e.g. allowing a name like 000.svscan.sh.
PR: 81677 [1]
Submitted by: Renato Botelho [1]
v. 1.21
date: 2005/05/30 11:28:04; author: roam; state: Exp; lines: +1 -1
Remove the duplicate 'Stopping svscan' message on shutdown.
Fix the URL in pkg-descr.
Bump PORTREVISION.
PR: 81665
Submitted by: Renato Botelho
v. 1.20
date: 2004/07/30 17:40:18; author: roam; state: Exp; lines: +1 -1
Fix shutdown on older systems: avoid find's '-depth n' primary.
Reported by: Robin Breathe
v. 1.19
date: 2004/07/27 06:27:07; author: roam; state: Exp; lines: +10 -2
Make the startup script also work on older versions of FreeBSD which
lack the daemon(8) utility.
v. 1.18
date: 2004/07/26 12:48:44; author: roam; state: Exp; lines: +2 -2
- make this script work with the New World Order in /etc/rc.d/localpkg,
where the config files may have been loaded already and our load_rc_config
invocation may do nothing: thus, we need to honor any previously set value
of svscan_enable;
- for some reason svscan_stop_post() does not like the IFS-like vars set by
rc.subr and localpkg; use find/xargs instead of having the shell parse its
own output;
- dequote COMMENT;
- fix the daemon(8)-ization by moving 2>&1 to its proper place, so that the
errors from svscan are actually picked up by readproctitle, as explained
in <20040630175050.GD979@straylight.m.ringlet.net>;
- move the 'Starting svscan' message to its proper place, so that the PATH
set by env(1) affects svscan, not the echo command :)
v. 1.17
date: 2004/07/25 08:52:51; author: nork; state: Exp; lines: +4 -4
o portlint clean. [1]
o print start message. [1]
o daemon(8)'ify. [2]
o bump PORTREVISION accordingly.
PR: ports/68558 [1]
Submitted by: Renato Botelho [1]
myself [2]
Reviewed by: roam [2]
Approved by: roam (blanket)
v. 1.16
date: 2004/06/28 23:56:18; author: roam; state: Exp; lines: +1 -1
Switch from using /bin/csh to /bin/sh, as suggested on -ports.
v. 1.15
date: 2004/06/28 23:07:40; author: roam; state: Exp; lines: +10 -7
USE_RC_SUBR.
Submitted by: nork
v. 1.14
date: 2003/02/19 16:07:29; author: roam; state: Exp; lines: +1 -0
Remove pkg-comment files in my ports.
v. 1.13
date: 2003/01/17 15:06:24; author: roam; state: Exp; lines: +2 -5
Install the sample startup script directly to etc/rc.d/, instead of
putting it into the examples directory, where next to nobody found it.
Requested by: Dan Langille ,
Antoine Beaupre - both months ago
v. 1.12
date: 2002/02/07 14:57:58; author: roam; state: Exp; lines: +17 -1
Install Gerritt Pape's manual pages unless WITHOUT_MAN is defined.
Properly remove the sample svscan.sh script at deinstall time.
v. 1.11
date: 2002/01/28 19:37:14; author: roam; state: Exp; lines: +1 -0
Tweak the startup script so that it is *really* a FreeBSD startup
script; that is, add 'start|stop' argument processing and
the ability to actually stop the script.
Bump PORTREVISION to indicate a functionality change - or rather,
to indicate a change that actually makes this a FreeBSD port..
Final push by: Dan Langille in a somewhat
unrelated e-mail exchange
Obtained from: a svscan SysV init script that I somehow managed
to lose the source and URL for :(
v. 1.10
date: 2002/01/04 14:38:11; author: roam; state: Exp; lines: +14 -6
Update to 0.76.
Assume maintainership.
Reviewed by: nbm
Approved by: nbm
v. 1.9
date: 2001/05/10 07:10:23; author: roam; state: Exp; lines: +2 -1
Almost revert a change made in daemontools-0.70's supervise, where
the one-second sleep between invocations was moved to after the actual
invocation. This sleep could be interrupted by a SIGCHLD in the case
of a failing service, and the service could be restarted way more than
the documented once-per-second. Move the sleep back before the fork(),
just don't sleep before the very first fork, so the service starts faster.
Silence by: Daniel J. Bernstein (no telling if he'll fix this in later
daemontools releases, so I guess we'll have to do it as part
of our port..)
Approved by: nbm (maintainer)
v. 1.8
date: 2000/12/03 05:16:41; author: steve; state: Exp; lines: +2 -2
Put the NO_PACKAGE strings in double quotes to the escaped single quote
becomes just a single quote instead \'.
v. 1.7
date: 2000/07/29 16:27:31; author: nbm; state: Exp; lines: +3 -2
Add the ftp version of the MASTER_SITE, since it is available.
v. 1.6
date: 2000/06/22 09:22:12; author: nbm; state: Exp; lines: +14 -1
Add a sample rc file for svscan startup, in partial fulfillment of the
PR. I'll leave the creation of the directory, whatever it may be, to
the user.
PR: ports/19191
Submitted by: Mario Sergio Fujikawa Ferreira
v. 1.5
date: 2000/04/27 21:43:32; author: nbm; state: Exp; lines: +11 -12
Update to (non-backwards-compatible) daemontools 0.70, and take over
MAINTAINERship.
PR: 16580
v. 1.4
date: 2000/04/22 10:11:59; author: mharo; state: Exp; lines: +5 -5
Corrrect whitespace introduced during PORTNAME conversion and portlint
v. 1.3
date: 2000/04/09 19:07:28; author: cpiazza; state: Exp; lines: +3 -3
Update with the new PORTNAME/PORTVERSION variable
v. 1.2
date: 1999/08/31 01:59:40; author: peter; state: Exp; lines: +1 -1
$Id$ -> $FreeBSD$
v. 1.1
date: 1998/06/16 07:47:02; author: dburr; state: Exp;
branches: 1.1.1;
Initial revision
v. 1.1.1.1
date: 1998/06/16 07:47:02; author: dburr; state: Exp; lines: +0 -0
PR: ports/6899
Submitted by: Dom Mitchell
Import of new port sysutils/daemontools, a set of
service (daemon) monitoring and logging tools.
=============================================================================
|
| |

|