tripleo-ansible/tripleo_ansible/roles/tripleo-systemd-wrapper/templates/service.service.j2

11 lines
304 B
Django/Jinja

[Unit]
Description=Tripleo {{ tripleo_systemd_wrapper_service_name }} sync service
[Service]
{% if tripleo_systemd_wrapper_debug %}
Environment=SYSTEMD_LOG_LEVEL=debug
{% endif %}
Type=oneshot
ExecStart={{ tripleo_systemd_wrapper_service_dir }}/{{ tripleo_systemd_wrapper_service_name }}/sync
User=root