Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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
|
DetailsDescription:
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.