From owner-freebsd-ports@FreeBSD.ORG Mon Oct 18 07:11:57 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF963106566C for ; Mon, 18 Oct 2010 07:11:56 +0000 (UTC) (envelope-from roam@ringlet.net) Received: from praag.hoster.bg (praag.hoster.bg [77.77.142.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC898FC15 for ; Mon, 18 Oct 2010 07:11:56 +0000 (UTC) Received: from middenheim.hoster.bg (middenheim.hoster.bg [77.77.142.11]) by praag.hoster.bg (Postfix) with ESMTP id E98D08CA29 for ; Mon, 18 Oct 2010 10:11:53 +0300 (EEST) Received: from straylight.ringlet.net (nat125.cnsys.bg [85.95.80.125]) (Authenticated sender: roam@hoster.bg) by mail.hoster.bg (Postfix) with ESMTP id 95B835C247 for ; Mon, 18 Oct 2010 10:11:28 +0300 (EEST) Received: from roam (uid 1000) (envelope-from roam@ringlet.net) id 416007 by straylight.ringlet.net (DragonFly Mail Agent) Sun, 17 Oct 2010 17:47:26 +0300 Date: Sun, 17 Oct 2010 17:47:26 +0300 From: Peter Pentchev To: freebsd-ports@freebsd.org Message-ID: <20101017144726.GA4494@straylight.ringlet.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <20101017103107.50b3deae@seibercom.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20101017103107.50b3deae@seibercom.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-MailScanner-ID: 95B835C247.B7733 X-hoster-MailScanner: Found to be clean X-hoster-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=1.771, required 10, autolearn=disabled, DATE_IN_PAST_12_24 1.77, UNPARSEABLE_RELAY 0.00) X-hoster-MailScanner-SpamScore: 1.77 X-hoster-MailScanner-From: roam@ringlet.net X-hoster-MailScanner-To: freebsd-ports@freebsd.org X-Spam-Status: No Subject: Re: daemontools port options X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2010 07:11:57 -0000 --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--