init.d script is broken
sashazykov opened this issue · 1 comments
sashazykov commented
I am getting this error, because /etc/default/mongodb
contains DAEMON="/usr/bin/$NAME"
$ sudo /etc/init.d/mongodb start
/etc/init.d/mongodb: 48: ulimit: Illegal option -u
Could not find /usr/bin/mongodb
spajus commented
That init.d scipt is not controlled by chef, service mongodb start
should do the trick. Although this cookbook could probably remove /etc/init.d/mongodb
when upstart is used.