paulbsd-salt/states/tor/config.sls
2023-03-10 00:06:23 +01:00

15 lines
312 B
Plaintext

---
{%- from "tor/map.jinja" import tor with context %}
tor-config:
file.managed:
- name: /etc/tor/torrc
- source: salt://tor/templates/torrc.j2
- user: root
- group: root
- mode: "0660"
- template: jinja
- watch_in:
- service: tor-service
- require:
- pkg: tor-pkg