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:
parent
44237031b1
commit
72ad34e3f0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user