On Tue, Jul 21, 2015 at 5:03 PM, Ryan Schmidt <[email protected]>
wrote:
> > +startupitem.start "${prefix}/bin/master -d"
> > +startupitem.stop "pidfile=${prefix}/var/run/cyrus-master.pid
> > + if \[ -f \${pidfile} \]; then
> > + kill -TERM \$(cat \${pidfile})
> > + fi"
>
> If startupitem.executable can be used instead of startupitem.start and
> startupitem.stop, that would be better. It looks like the "-d" flag means
> to start in daemon mode, so all you probably need to do is set
> "startupitem.executable ${prefix}/bin/master" (without the "-d" flag).
>
> This port really installs a program called "master"? That sounds like a
> naming collision just waiting to happen.
>
It does. But it expects that daemon to be installed in a private directory,
not e.g. /opt/local/bin or /opt/local/sbin.
--
brandon s allbery kf8nh sine nomine associates
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev