Update README.md

This commit is contained in:
William Mantly 2016-01-31 23:13:34 -05:00
parent 0f26a39a63
commit fa2df642a7

View File

@ -66,14 +66,13 @@ lxc-destroy -n test-ubuntu
```bash
sudo add-apt-repository ppa:ubuntu-lxc/daily
sudo add-apt-repository ppa:ubuntu-lxc/stable
sudo add-apt-repository ppa:ubuntu-lxc/cgmanager-stable
```
# auto start
## crontab
```bash
@reboot forever start -c '/usr/bin/nodemon -e js,ejs' -a -o /home/virt/manager/proxy.out.log -e /home/virt/manager/proxy.err.log /home/virt/manager/bin/www
@reboot /usr/bin/forever start -o /home/virt/manager/proxy.out.log -e /home/virt/manager/proxy.err.log /home/virt/manager/app.js
@reboot /usr/local/bin/forever start -a -o /home/virt/lxc_manager_node/server.out.log -e /home/virt/lxc_manager_node/server.err.log /home/virt/lxc_manager_node/bin/www
```
##rc.local