8e461beab9
Like glance because that was awesome work. Ubuntu 16.04 requires a few changes: - bridge-utils needs to be installed on linux bridge agents - Namespaces get listed as <namespacename> (id: <id>) instead of only <namespacename> which causes our tests to fail. Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk> Implements: blueprint support-ubuntu-1604 Change-Id: I94723d512097b9b1f767262bde534d89cfeb1408
25 lines
666 B
Django/Jinja
25 lines
666 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[Unit]
|
|
Description=neutron openstack service
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ system_user }}
|
|
Group={{ system_group }}
|
|
|
|
{% if program_override is defined %}
|
|
ExecStart={{ program_override }} {{ program_config_options|default('') }} --log-file=/var/log/neutron/{{ program_name }}.log
|
|
{% else %}
|
|
ExecStart={{ neutron_bin }}/{{ program_name }} {{ program_config_options|default('') }} --log-file=/var/log/neutron/{{ program_name }}.log
|
|
{% endif %}
|
|
|
|
# Give a reasonable amount of time for the server to start up/shut down
|
|
TimeoutSec=300
|
|
Restart=on-failure
|
|
RestartSec=150
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |