Update README.md

This commit is contained in:
chiu 2020-09-28 14:31:10 +08:00
parent 71c910dec0
commit 72962672b9
1 changed files with 2 additions and 1 deletions

View File

@ -567,12 +567,13 @@ network:
search:
- rulingcom.com
version: 2
### 六、如果 /etc/init.d/mongod 遺失(適用於ubuntu14.04以上)
## 六、如果 /etc/init.d/mongod 遺失(適用於ubuntu14.04以上)
```sh
# 建立 mongod service
$ sudo vim /etc/init.d/mongod #請查看以下/etc/init.d/mongod之內容
$ sudo chmod +x /etc/init.d/mongod
```
```txt
#此為/etc/init.d/mongod之內容
#!/bin/bash