From owner-freebsd-ports@FreeBSD.ORG Thu Nov 30 22:26:16 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B589616A403 for ; Thu, 30 Nov 2006 22:26:16 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (hood.oook.cz [195.250.137.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAC4443CA3 for ; Thu, 30 Nov 2006 22:26:05 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from ikaros.oook.cz (localhost [127.0.0.1]) by hood.oook.cz (8.13.8/8.13.8) with ESMTP id kAUMQEG1039647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Nov 2006 23:26:14 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by ikaros.oook.cz (8.13.8/8.13.8/Submit) id kAUMQE4a039643; Thu, 30 Nov 2006 23:26:14 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: ikaros.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Bill Moran In-Reply-To: <20061130170943.70c02bfe.wmoran@potentialtech.com> References: <20061130170943.70c02bfe.wmoran@potentialtech.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-eetfmmyytkb3gfMhfgNZ" Date: Thu, 30 Nov 2006 23:26:13 +0100 Message-Id: <1164925573.68748.14.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port Cc: ports@FreeBSD.org Subject: Re: rsync as a daemon doesn't play nice with rcng X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 22:26:16 -0000 --=-eetfmmyytkb3gfMhfgNZ Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Bill Moran p=ED=B9e v =E8t 30. 11. 2006 v 17:09 -0500: > Noticed that the rsync port has an rcng compliant script for starting > rsync in daemon mode. Nice. >=20 > Unfortunately, rsync doesn't seem to write its pidfile to /var/run, > and doesn't seem to even _support_ doing so. As a result, the rc > system is unable to determine when it's running, thus stop and > restart work poorly. >=20 > Is there a mechanism within the rc system that can work around this > so the rc script can be improved? Oh? It does write a pidfile here, as /var/run/rsyncd.pid, and rc script stop uses it nicely. --=20 Pav Lucistnik Eat when you are hungry, sleep when you are tired. Chase butterflies when you want some fun. --=-eetfmmyytkb3gfMhfgNZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFb1qFntdYP8FOsoIRAh5pAJ9bnIuP7fuNJZaRTGbVMo74eNw8pwCfQf6c iOBLMWLtKwLvPVe39U4ScHA= =lH6L -----END PGP SIGNATURE----- --=-eetfmmyytkb3gfMhfgNZ--