[85579] trunk/dports/net/rsync/Portfile
Ryan Schmidt
ryandesign at macports.org
Fri Oct 14 12:01:25 PDT 2011
On Oct 14, 2011, at 13:34, snc at macports.org wrote:
> Revision: 85579
> http://trac.macports.org/changeset/85579
> Author: snc at macports.org
> 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.
More information about the macports-dev
mailing list