7c239bfbb1
The installation is done from source in a virtualenv for a system user. master branch was used. * Tested on: Ubuntu 14.04, Ubuntu 16.04, Centos 7, openSUSE Leap 42.1 and Debian 8 * Add init scripts for Ubuntu 14.04 * Add systemd units for Ubuntu 14.10 or higher, RHEL/Fedora/Centos and openSUSE Leap 42.1 * Add: verify that magnum services are running * Add: links to dependency install guides * Add: setup log rotation Change-Id: I0b8a25916734a208b80456c253339974d9423ad6 Partially-Implements: blueprint magnum-installation-guide
14 lines
316 B
Plaintext
14 lines
316 B
Plaintext
description "Magnum API server"
|
|
|
|
start on runlevel [2345]
|
|
stop on runlevel [!2345]
|
|
|
|
respawn
|
|
|
|
exec start-stop-daemon --start --chuid magnum \
|
|
--chdir /var/lib/magnum \
|
|
--name magnum-api \
|
|
--exec /var/lib/magnum/env/bin/magnum-api -- \
|
|
--config-file=/etc/magnum/magnum.conf \
|
|
--log-file=/var/log/magnum/magnum-api.log
|