Netatalk 4.x
blake at netjibbing.com
blake at netjibbing.com
Wed Feb 12 15:55:42 UTC 2025
The quoting on startupitem.executable was my main issue. I’ll incorporate these other tips as well.
Thanks!
> On Feb 11, 2025, at 9:30 PM, Ryan Carsten Schmidt <ryandesign at macports.org> wrote:
>
> 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