Skip to content

Commit

Permalink
fixes override for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
tibroc committed Sep 14, 2023
1 parent 6a245a4 commit 241af96
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 0 additions & 6 deletions files/override.conf

This file was deleted.

6 changes: 3 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
state: directory
mode: "0755"
- name: Copy coturn systemd override file
ansible.builtin.copy:
ansible.builtin.template:
src: override.conf
dest: /etc/systemd/system/coturn.service.d/override.conf
owner: root
Expand Down Expand Up @@ -74,8 +74,8 @@
ansible.builtin.copy:
src: dhparam.pem
dest: /etc/ssl/dhparam.pem
owner: root
group: root
owner: "{{ turn_user }}"
group: "{{ turn_user }}"
mode: "0644"

- name: Create lograte structure
Expand Down
6 changes: 6 additions & 0 deletions templates/override.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Service]
LimitNOFILE=1048576
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=
ExecStart=/usr/bin/turnserver -c /etc/turnserver.conf --pidfile /run/{{ turn_user }}/turnserver.pid --no-stdout-log
Restart=always

0 comments on commit 241af96

Please sign in to comment.