paulbsd-salt/states/tor/service.sls

13 lines
235 B
Plaintext
Raw Normal View History

2022-12-26 10:15:34 +01:00
---
{%- 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