[138845] trunk/dports/mail

Brandon Allbery allbery.b at gmail.com
Tue Jul 21 14:09:49 PDT 2015


On Tue, Jul 21, 2015 at 5:03 PM, Ryan Schmidt <ryandesign at macports.org>
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
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150721/2a4135a8/attachment.html>


More information about the macports-dev mailing list