mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-28 16:22:49 +00:00
6 lines
141 B
Bash
Executable File
6 lines
141 B
Bash
Executable File
#!/bin/bash
|
|
sudo rm /var/lib/mongodb/mongod.lock
|
|
sudo -u mongodb mongod -f /etc/mongodb.conf --repair
|
|
sudo start mongodb
|
|
sudo status mongodb
|