camera-motion-detect/mongo-init.sh

12 lines
126 B
Bash
Raw Normal View History

2022-02-13 17:53:47 +00:00
#!/bin/bash
mongo <<EOF
rs.initiate({
_id: 'rs0',
members: [
{_id: 0, host: '127.0.0.1:27017'}
]
})
EOF