#17979: startupitems using launchd and needing a wrapper fail to create the wrapper ---------------------------------+------------------------------------------ Reporter: blb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: startupitem launchd | Port: ---------------------------------+------------------------------------------ When a start, stop, restart, or init (but not both start and stop) option is given to startupitem and the system supports launchd, it wants to use a wrapper script ([browser:trunk/base/src/port1.0/portstartupitem.tcl#L416 beginning of section]) and a startup script. The code creates a launchd wrapper which references this startup script ([browser:trunk/base/src/port1.0/portstartupitem.tcl#L424 block which references the startup script]). However, nowhere in {{{proc startupitem_create_darwin_launchd}}} does it actually create this script, {{{${scriptdir}/${portname}.sh}}}. If a port is expected to create this startup script itself, it needs to be documented since the directory for it, {{{${prefix}/etc/startup}}}, does not appear in any documentation I can find. -- Ticket URL: <http://trac.macports.org/ticket/17979> MacPorts <http://www.macports.org/> Ports system for Mac OS