2013-04-03 01:22:41 +00:00
|
|
|
Command line utilities to simplify instalation of OpenStack services.
|
2013-01-25 22:23:56 +00:00
|
|
|
|
2013-04-03 01:22:41 +00:00
|
|
|
## os-svc-install
|
|
|
|
Given a git repo url, pip-install the repo and all of its python dependencies into a virtualenv under /opt/stack/venvs.
|
2013-01-25 22:23:56 +00:00
|
|
|
|
2013-04-03 01:22:41 +00:00
|
|
|
## os-svc-daemon
|
|
|
|
Given a system service command line and run-as user, generate and install system service start script.
|
2013-01-25 22:23:56 +00:00
|
|
|
|
2013-04-03 01:22:41 +00:00
|
|
|
|
|
|
|
## example usage
|
|
|
|
```bash
|
|
|
|
# clone nova.git from github, and install it and its dependencies to /opt/stack/venvs/nova
|
|
|
|
os-svc-install -u nova -n nova-all -c 'nova-all --someoption' -r https://github.com/openstack/nova.git
|
|
|
|
|
|
|
|
# install a system-start script for nova-api
|
|
|
|
os-svc-daemon nova-api nova /opt/stack/venvs/nova/bin/nova-api --config-dir /etc/nova
|
|
|
|
```
|
2013-01-25 22:23:56 +00:00
|
|
|
|