Re: “Executable” StartupItems are preferred over “script” StartupItems
Joshua Root
jmr at macports.org
Wed May 16 03:22:32 UTC 2018
On 2018-5-16 05:40 , Rainer Müller wrote:
> It looks like munin-node will fork itself into the background by
> default. This is incompatible with launchd, as it would assume the
> process died as soon as you launch it. Unless there is a switch or
> configuration option to force it to run as a foreground process, you
> need to use "script" instead of "executable".
I don't think a wrapper script is necessary in this case as long as
there's a pidfile involved. Scripts are for doing something more
complicated than just executing one program.
- Josh
More information about the macports-dev
mailing list