Hi all
I am trying to start mongodb on system startup. I have added the following line to the bootlocal.sh
/usr/local/bin/mongodb/bin/mongod --dbpath /mnt/sda1/own/db --journal --fork --syslog
this doesn't start mongodb but if i change the --dbpath option to /data/db it works and starts up. As
tiny core is booting from sda1, so i imagine that sda1 will be mounted .. i have also tried
/usr/local/bin/mongodb/bin/mongod --dbpath /mnt/sda1/own/db --journal --fork --syslog &
/usr/local/bin/mongodb/bin/mongod --dbpath /mnt/sda1/own/db --journal
/usr/local/bin/mongodb/bin/mongod --dbpath /mnt/sda1/own/db --journal &
but still mongodb won't start, I want save the db on disk so that i don;t lose any data on system crash and restarts
Thanks in advance