On Oct 14, 2011, at 13:34, [email protected] wrote:

> Revision: 85579
>          http://trac.macports.org/changeset/85579
> Author:   [email protected]
> Date:     2011-10-14 11:34:52 -0700 (Fri, 14 Oct 2011)
> Log Message:
> -----------
> rsync: fix rsyncd launchd error, #25992
> 
> Modified Paths:
> --------------
>    trunk/dports/net/rsync/Portfile

> +startupitem.create  yes
> +startupitem.name    rsyncd
> +startupitem.logfile ${prefix}/var/log/rsyncd.log
> +startupitem.start   "${prefix}/bin/rsync --daemon 
> --config=${prefix}/etc/rsyncd.conf"
> +startupitem.stop    "kill `cat ${prefix}/var/run/rsyncd.pid`"
> +startupitem.pidfile auto ${prefix}/var/run/rsyncd.pid

Ideally, rsync would be started *not* as a daemon, in startupitem.executable. 
Then you wouldn't need startupitem.start, startupitem.stop, or 
startupitem.pidfile.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to