Fix bug that orbit and mongo not start.
This commit is contained in:
parent
53d93b68a6
commit
5180352d05
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue