paulbsd-salt/states/tor/service.sls
Paul Lecuq 262c03d359
All checks were successful
continuous-integration/drone/push Build is passing
updated tor state
2022-12-26 10:15:34 +01:00

13 lines
235 B
Plaintext

---
{%- from "tor/map.jinja" import tor with context %}
tor-service:
{%- if tor.enabled %}
service.running:
{%- else %}
service.dead:
{%- endif %}
- name: tor
- enable: {{ tor.enabled }}
- require:
- pkg: tor-pkg