tripleo-image-elements/elements/os-svc-install
Robert Collins 55a73361ff Fix os-svc-install outside of boot-stack.
os-svc-install is meant for any image, not just those installing a new
cloud, but it was only working so far because we've only been building
boot-stack images routinely.

Fix bug 1198701.

Change-Id: I4fd170333bb36b5bf9b0c33e224c43db2d4235f5
2013-07-09 07:45:25 +12:00
..
bin Use --no-site-package for services venv's (-nova) 2013-06-28 16:08:50 +01:00
install.d Fix os-svc-install outside of boot-stack. 2013-07-09 07:45:25 +12:00
README.md Add post-start option to os-svc-daemon. 2013-05-17 22:26:53 -07:00

README.md

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. See output of os-svc-daemon -h for online help.

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 -n nova-api -u nova -c /opt/stack/venvs/nova/bin/nova-api -- --config-dir /etc/nova