mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +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
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%pre server
|
%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
|
-c mongod mongod > /dev/null 2>&1
|
||||||
|
|
||||||
%post server
|
%post server
|
||||||
|
Loading…
Reference in New Issue
Block a user