#13807 closed enhancement (fixed)
support for launchd.plist items (e.g. UserName) in portfiles
Reported by: | jyrkiwahlstedt | Owned by: | ci42 |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.7.0 |
Component: | base | Version: | 1.6.0 |
Keywords: | Cc: | febeling@…, e40 (e40), herbygillot (Herby Gillot), mascguy (Christopher Nielsen) | |
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 (12)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Type: | defect → enhancement |
---|
comment:2 Changed 16 years ago by febeling@…
Port: | couchdb added |
---|
comment:4 Changed 9 years ago by ci42
Owner: | changed from macports-tickets@… to ciserlohn@… |
---|
comment:5 Changed 6 years ago by e40 (e40)
Cc: | e40 added |
---|
comment:6 follow-up: 7 Changed 4 years ago by herbygillot (Herby Gillot)
comment:7 Changed 16 months ago by mascguy (Christopher Nielsen)
Cc: | herbygillot added |
---|
Replying to herbygillot:
In b493d5337a0c0d83998d6672ce60be20427c49d7/macports-base (master):
While this was a great addition, it was never documented anywhere (apart from the release notes). Which undermines the usefulness of the functionality, as many folks have no idea that it even exists...
comment:8 Changed 16 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:9 Changed 15 months ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | new → closed |
User and Group functionality introduced in MacPorts 2.7.0, released on 2021-05-19. Closing as fixed.
comment:10 follow-up: 11 Changed 15 months ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 2.7.0 |
---|
Please set a milestone when closing base tickets that are fixed in a specific release. The ticket description mentions wanting more plist keys than just user and group, but since they are unspecified, I agree there's probably nothing else actionable here.
comment:11 Changed 15 months ago by mascguy (Christopher Nielsen)
Replying to jmroot:
Please set a milestone when closing base tickets that are fixed in a specific release.
Great point, thanks for the heads-up Josh!
comment:12 Changed 15 months ago by mascguy (Christopher Nielsen)
PR created, to document options startupitem.user
/startupitem.group
in the manpage for portfile
:
PR 294 - manpages: portfile: add info for startupitem.user/startupitem.group
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:
and this doesn't:
The port install UI message advertises the latter one, which is a bit unfortunate since it's broken.