Opened 14 years ago

Last modified 13 months ago

#13807 new enhancement

support for launchd.plist items (e.g. UserName) in portfiles

Reported by: jyrkiwahlstedt Owned by: ci42
Priority: Normal Milestone: MacPorts Future
Component: base Version: 1.6.0
Keywords: Cc: febeling@…, e40 (e40)
Port: couchdb

Description

Currently there are only few plist items that can be defined in portfiles. I specifically have need for UserName for CouchDB (there is no way to specify the user in ini file!), but I expect other may have need for others, too.

Change History (6)

comment:1 Changed 14 years ago by ryandesign (Ryan Schmidt)

Type: defectenhancement

comment:2 Changed 13 years ago by febeling@…

Port: couchdb added

The couchdb install contains a launchd plist already, is there anything wrong with it? The mp startup item does not work for me, though. So this works:

sudo launchctl load -w /opt/local/Library/LaunchDaemons/org.apache.couchdb.plist

and this doesn't:

sudo launchctl load -w /Library/LaunchDaemons/org.macports.CouchDB.plist

The port install UI message advertises the latter one, which is a bit unfortunate since it's broken.

comment:3 Changed 13 years ago by febeling@…

Cc: febeling@… added

Cc Me!

comment:4 Changed 6 years ago by ci42

Owner: changed from macports-tickets@… to ciserlohn@…

comment:5 Changed 3 years ago by e40 (e40)

Cc: e40 added

comment:6 Changed 13 months ago by herbygillot (Herby Gillot)

In b493d5337a0c0d83998d6672ce60be20427c49d7/macports-base (master):

Add Portfile options: startupitem.user & startupitem.group
Ports can now use these to tell launchd which user and group to run the
daemon process as.

See: #13807

Note: See TracTickets for help on using tickets.