[MacPorts] #44295: support more than one launchd plist

MacPorts noreply at macports.org
Tue Mar 27 16:38:09 UTC 2018


#44295: support more than one launchd plist
--------------------------+--------------------
  Reporter:  cr@…         |      Owner:  jmroot
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.3.1
Resolution:  fixed        |   Keywords:
      Port:               |
--------------------------+--------------------
Changes (by jmroot):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"99d5fb30eb4c1ba8b7924807a052291ba31b792c/macports-base"
 99d5fb30eb4c1ba8b7924807a052291ba31b792c/macports-base]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-base"
 revision="99d5fb30eb4c1ba8b7924807a052291ba31b792c"
 Allow multiple startupitems per port

 The portfile interface is a new option called 'startupitems'. This
 should be filled with a list of key/value pairs, with the names of the
 keys corresponding to the startupitem.* options. Each startupitem
 declared this way must speficy at least a name. Other options will be
 taken to have the value of the corresponding startupitem.* option if
 not present. Options apply to the name that appeared immediately prior.

 Example:

 startupitem.create  yes
 startupitems        name        mydaemon \
                     executable  ${prefix}/bin/mydaemon \
                     name        anotherthing \
                     start       "${prefix}/bin/another --someflag"
                     stop        "${prefix}/bin/another shutdown"

 Fixes: https://trac.macports.org/ticket/44295
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/44295#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list