Netatalk 4.x

Ryan Carsten Schmidt ryandesign at macports.org
Wed Feb 12 05:30:29 UTC 2025


On Feb 11, 2025, at 20:19, Blake wrote:
> 
> startupitem.name    ${name}

That's the default so you should omit this line.

> startupitem.executable  "${prefix}/sbin/netatalk -d -F ${prefix}/etc/afp.conf"

Per guide.macports.org:

Do not wrap values in quotes if passing arguments to the daemon; “executable” StartupItem elements must be tagged individually so the spaces between arguments serve as delimiters for “string” tags.

> startupitem.pidfile auto /var/run/netatalk.pid

We usually put these inside ${prefix} but since you're using an executable not a script you don't need a pidfile at all.


More information about the macports-dev mailing list