rsync as a daemon doesn't play nice with rcng

Pav Lucistnik pav at FreeBSD.org
Thu Nov 30 14:26:16 PST 2006


Bill Moran píše v čt 30. 11. 2006 v 17:09 -0500:

> Noticed that the rsync port has an rcng compliant script for starting
> rsync in daemon mode.  Nice.
> 
> 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.
> 
> 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.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Eat when you are hungry, sleep when you are tired.
Chase butterflies when you want some fun.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: 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?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20061130/90201df7/attachment.pgp


More information about the freebsd-ports mailing list