create several startupitems for different variants of the same port?

Joshua Root jmr at macports.org
Tue May 15 05:55:25 UTC 2018


On 2018-5-15 05:31 , macports at parvis.nl wrote:
> Is it possible to create several startupitems for a single port?
> 
> Munin always needs a startupitem for munin-node ans uses 'startupitem.create yes'.
> 
> Next is munin-server, needs to run every 5 minutes, the current port uses a plist with StartInterval 300, but that doesn't work because the runtime is vary variable, also modified by system load. StartCalendarInterval also fails if a single run takes more than 5 minutes. I replace this with a good old crontab.
> 
> There are new variants needed, first is for munin-asyncd, a new daemon. if I use 'startupitem.create yes', the startupitem for munin-node is not created, I think because the startupitem is for the port, not for the variant.

These are variants, not subports? I haven't seen the port, so I don't
know, but it's probably worth asking whether that's the best model.

(I see Ryan already answered your direct question.)

- Josh


More information about the macports-dev mailing list