touch log file if not existent
This commit is contained in:
parent
82bd8874d2
commit
2a0b1c518d
1 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,13 @@
|
|||
state: restarted
|
||||
daemon_reload: yes
|
||||
|
||||
- name: Ensure log file exists
|
||||
file:
|
||||
path: "{{ tor_logfile_path }}"
|
||||
state: touch
|
||||
owner: debian-tor
|
||||
mode: 0644
|
||||
|
||||
- name: (Re)start and enable tor service
|
||||
service:
|
||||
name: tor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue