Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 65f099119e
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.699 kb
# Fix for
patch_it $SOURCE3 1 &&
add_priv_user mongodb:mongodb -d /var/lib/mongodb &&
scons -j${MAKES:=1} all --full &&
prepare_install &&
scons -j${MAKES:=1} install --full --prefix=/usr &&
rm -f /usr/lib/libmongoclient.a &&
[ -f /etc/mongodb.conf ] || install -m 644 $SOURCE_CACHE/$SOURCE2 /etc/mongodb.conf &&
if module_installed systemd; then
# Manually create /run/mongodb now, systemd tmpfiles.d will handle this next boot
[ -d /run/mongodb ] || install -d -o mongodb -g root -m 0755 /run/mongodb
fi &&
for i in /var/{lib,log}/mongodb; do
install -d $i -o mongodb -g mongodb -m 770
) > $C_FIFO 2>&1
Jump to Line
Something went wrong with that request. Please try again.