0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 16:47:28 +01:00

Fix rpm/mongo.spec for old CentOS useradd command version.

This commit is contained in:
Richard Kreuter 2010-04-02 16:03:06 -04:00
parent 44237031b1
commit 72ad34e3f0

View File

@ -68,7 +68,8 @@ scons -c
rm -rf $RPM_BUILD_ROOT
%pre server
/usr/sbin/useradd -M -r -U -d /var/lib/mongo -s /bin/false \
/usr/sbin/groupadd -r mongod
/usr/sbin/useradd -M -r -g mongod -d /var/lib/mongo -s /bin/false \
-c mongod mongod > /dev/null 2>&1
%post server