[MacPorts] #27565: set couchdb user's homedir to dbdir
MacPorts
noreply at macports.org
Sat Dec 4 11:02:53 PST 2010
#27565: set couchdb user's homedir to dbdir
---------------------------------+------------------------------------------
Reporter: jabronson@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: couchdb
---------------------------------+------------------------------------------
patch against current trunk to set couchdb user's homedir to dbdir to
match installations on other systems:
{{{
Index: Portfile
===================================================================
--- Portfile (revision 74078)
+++ Portfile (working copy)
@@ -51,7 +51,7 @@
post-destroot {
addgroup ${dbgroup}
- adduser ${dbuser} gid=[existsgroup ${dbgroup}]
+ adduser ${dbuser} gid=[existsgroup ${dbgroup}] home=${dbdir}
xinstall -m 755 -o ${dbuser} -g ${dbgroup} -d \
${destroot}${dbdir} \
${destroot}${logdir} \
}}}
--
Ticket URL: <https://trac.macports.org/ticket/27565>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list