Date: Thu, 30 Nov 2006 23:26:13 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Bill Moran <wmoran@potentialtech.com> Cc: ports@FreeBSD.org Subject: Re: rsync as a daemon doesn't play nice with rcng Message-ID: <1164925573.68748.14.camel@ikaros.oook.cz> In-Reply-To: <20061130170943.70c02bfe.wmoran@potentialtech.com> References: <20061130170943.70c02bfe.wmoran@potentialtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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 <pav@oook.cz> <pav@FreeBSD.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1164925573.68748.14.camel>