FS#25021 - [mongodb] add /bin/bash to mongodb.rc
Attached to Project:
Community Packages
Opened by Mathias Rohnstock (drmonty) - Tuesday, 05 July 2011, 08:14 GMT
Last edited by Thomas Dziedzic (tomd123) - Thursday, 07 July 2011, 15:34 GMT
Opened by Mathias Rohnstock (drmonty) - Tuesday, 05 July 2011, 08:14 GMT
Last edited by Thomas Dziedzic (tomd123) - Thursday, 07 July 2011, 15:34 GMT
|
Details
Description:
change line 11 in mongodb.rc from: [ -z "$PID" ] && /bin/su mongodb -s -c "/usr/bin/mongod --config /etc/mongodb.conf --fork" > /dev/null to: [ -z "$PID" ] && /bin/su mongodb -s /bin/bash -c "/usr/bin/mongod --config /etc/mongodb.conf --fork" > /dev/null otherwise daemon won't start (not on my system). |
This task depends upon
Closed by Thomas Dziedzic (tomd123)
Thursday, 07 July 2011, 15:34 GMT
Reason for closing: Works for me
Thursday, 07 July 2011, 15:34 GMT
Reason for closing: Works for me
[ -z "$PID" ] && /bin/su mongodb -s "/usr/bin/mongod --config /etc/mongodb.conf --fork" > /dev/null
not
[ -z "$PID" ] && /bin/su mongodb -s -c "/usr/bin/mongod --config /etc/mongodb.conf --fork" > /dev/null
there have been recent changes in the mongodb initscripts that require attention
Would be great, if some infotext would get displayed on updating the package.