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 <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Eat when you are hungry, sleep when you are tired. Chase butterflies when you want some fun.
signature.asc
Description: Toto je digitálně podepsaná část zprávy