diskimage-builder/elements/os-svc-install
Clint Byrum a18a5c85ff Do not require arguments for os-svc-daemon.
They are not actually required, so allow os-svc-daemon to be called
without them.

Change-Id: I62c2887d48e4173005c54c9cab4ecd6aff8069a1
2013-04-04 13:05:43 -07:00
..
bin Do not require arguments for os-svc-daemon. 2013-04-04 13:05:43 -07:00
pre-install.d Run all openstack services in virtualenvs: 2013-04-02 18:13:07 -07:00
README.md Bring os-svc-install element docs up-to-date. 2013-04-04 09:37:25 -07:00

Command line utilities to simplify instalation of OpenStack services.

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.

os-svc-daemon

Given a system service command line and run-as user, generate and install system service start script.

example usage

# 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