paulbsd-salt/states/haproxy/service.sls

13 lines
335 B
Plaintext
Raw Normal View History

2022-10-01 20:06:19 +02:00
---
{%- from "haproxy/map.jinja" import haproxy with context %}
haproxy-service:
service.running:
- name: haproxy
- enable: true
2022-12-09 23:47:23 +01:00
- reload: true
- check_cmd:
2024-09-29 09:50:15 +02:00
- haproxy -f {{ haproxy.config.dir }}/{{ haproxy.config.configfile }} -c
{% if haproxy.acme %}
- watch:
- pki.fetched: pki-fetched-*
{% endif %}