ab33572534
-Created a ubuntu-16.04 file in vars -Updated meta/main.yml dependencies to include xenial as a verison of Ubuntu. -Added cinder-16.04-support.yaml in realesenotes -Added template files for systemd support Implements: blueprint support-ubuntu-1604 Change-Id: Idb2f6b84fc558b21ca2dfce6121dc22ff31a659a
26 lines
663 B
Django/Jinja
26 lines
663 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[Unit]
|
|
Description=cinder 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/cinder/{{ program_name }}.log
|
|
{% else %}
|
|
ExecStart={{ cinder_bin }}/{{ program_name }} {{ program_config_options|default('') }} --log-file=/var/log/cinder/{{ 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
|