Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2010 17:47:26 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: daemontools port options
Message-ID:  <20101017144726.GA4494@straylight.ringlet.net>
In-Reply-To: <20101017103107.50b3deae@seibercom.net>
References:  <20101017103107.50b3deae@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
>=20
> 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
>=20
> 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

--=20
Peter Pentchev	roam@space.bg    roam@ringlet.net    roam@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,

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJMuwx6AAoJEGUe77AlJ98Tsn4P/1R1SGh+h+e0FHHkyHEOEAsN
REpZvvRhIEw7uMyweTq0lALxHpfb+UWOqVlB25E8WRVZ6OeXgul5PtebSj2B8DIN
6kk6akHj7Er29gsPjmxg7aH4gfFRy34AxH6uu5VmhAmmWihFqbtAoAFSHxphcGua
//TCj0Aw58PvHM5vM8XtGHyKxNtmIEngpq0jW9H7ewqRU+zgS09iNWAJmpDIaCrf
QdshDq4XWQCw2Y7A9q078dd0gDbCIHW9WY+Qssy9npNb8ToU5/xFENhbzXkfaRDy
sTHrtwWrPAxBI0ghX4ZuvMr0xnzhkqcOpu4tNtInhovUe+twpWGnR9A92mAie7ve
2hokE4ui54OZ66t9pg99cZ2EL224uv2DSGKMRvaYiHIRrH5IDytxutnHm+HFIMdw
ZNeIm99Pf7M02wFzocBV1cvQAhIXTPhTEWBjNazUFI4gLfbflIWhTvN922GU3P5M
K3/ONskrDtboSeQ3P4O8WajLiJE1v54HgQIA2P2kXbBl4UOcTzYJ137MOPlB1go2
4FZEm3j3GtU4GwIkN/SCx3axFCul11NY6S90uOu9rYb9ucRUOHGHq7e+4UrspV0J
x4jiWwNxHOACX+yKKiHHCbmYQ/N7kCltuOVxHJ7Js9xQLh4CC9DEZH8Um0EP22LL
0B3Z9L0s53cJxXNAFAEm
=HU9B
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101017144726.GA4494>