Fix bug that orbit and mongo not start.

This commit is contained in:
BoHung Chiu 2021-04-28 11:26:36 +08:00
parent 53d93b68a6
commit 5180352d05
1 changed files with 4 additions and 1 deletions

View File

@ -266,7 +266,10 @@ $ sudo chmod 755 /etc/rc.local
$ update-rc.d rc.local defaults $ update-rc.d rc.local defaults
$ sudo systemctl start orbit $ sudo systemctl start orbit
$ sudo systemctl start rc.local $ sudo systemctl start rc.local
# $ sudo crontab -e #加入以下內容
# @reboot /etc/init.d/orbit start
# @reboot service mongod start
``` ```
```txt ```txt