paulbsd-salt/states/tor/config.sls

15 lines
312 B
Plaintext
Raw Normal View History

2022-12-26 10:15:34 +01:00
---
{%- from "tor/map.jinja" import tor with context %}
tor-config:
file.managed:
- name: /etc/tor/torrc
2023-03-10 00:06:23 +01:00
- source: salt://tor/templates/torrc.j2
2022-12-26 10:15:34 +01:00
- user: root
- group: root
- mode: "0660"
- template: jinja
- watch_in:
- service: tor-service
- require:
- pkg: tor-pkg