daemontools port options
Peter Pentchev
roam at ringlet.net
Mon Oct 18 07:11:57 UTC 2010
On Sun, Oct 17, 2010 at 10:31:07AM -0400, Jerry wrote:
> The "sysutils/daemontools" port has a few options for the port. The
> three I have a question about are listed below along with their default
> settings:
>
>
> S_EARLY "Start early, before the normal daemons" off
> S_NORMAL "Start normally in the usual boot sequence" on
> SIGQ12 "Add svc support for QUIT, USR1, and USR2 signals" off
>
> I was wondering if there is any strategic advantage to using the
> "S_EARLY" option as opposed to the default setting.
Imagine your DNS server is running as a service. You want it to start
before most of the network services have a chance to try using it :)
> Also, if I have a program(s) that are routinely restarted via "USR1",
> such as clamav, should I activate the "SIGQ12" option? I am not even
> sure exactly what support it enables.
It adds the -1, -2, and -q options to the svc(8) command-line tool,
and yes, that's pretty much exactly what you want - if you're running
clamav as a service, you can now do "svc -1 /var/service/clamav" and
it'll get a USR1 signal.
G'luck,
Peter
--
Peter Pentchev roam at space.bg roam at ringlet.net roam at FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
If I had finished this sentence,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20101018/53323bb9/attachment.pgp
More information about the freebsd-ports
mailing list