[MacPorts] #22570: startupitems - RunAtLoad setting
MacPorts
noreply at macports.org
Tue Nov 17 04:36:06 PST 2009
#22570: startupitems - RunAtLoad setting
---------------------------------+------------------------------------------
Reporter: dreamcat4@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.8.1
Keywords: | Port:
---------------------------------+------------------------------------------
Comment(by dreamcat4@…):
In 10.6 you can programmatically manipulate the overrides.plist. Although
there is no sanctioned command to do so.
/var/db/launchd.db/com.apple.launchd/overrides.plist
It would be possible to write an api command to insert / modify the
relevant xml fragment. For example
{{{
<key>org.macports.nginx</key>
<dict>
<key>Disabled</key>
<false/>
</dict>
<key>org.macports.rabbitmq-server</key>
<dict>
<key>Disabled</key>
<false/>
<key>RunAtLoad</key>
<true/>
</dict>
<key>org.macports.rb-chef-indexer</key>
<dict>
<key>Disabled</key>
<false/>
</dict>
<key>org.macports.rb-chef-server</key>
<dict>
<key>Disabled</key>
<true/>
</dict>
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22570#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list