1e51088398
Implements: blueprint support-ubuntu-1604 Change-Id: Ide4d2c5e7753aa56bd82f0de913217f0df8860b9
26 lines
663 B
Django/Jinja
26 lines
663 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[Unit]
|
|
Description=ironic 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/ironic/{{ program_name }}.log
|
|
{% else %}
|
|
ExecStart={{ ironic_bin }}/{{ program_name }} {{ program_config_options|default('') }} --log-file=/var/log/ironic/{{ 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
|