1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-01 21:56:11 +02:00

matrix: Start turnserver with User=root

Otherwise it can't open our letsencrypt certs. It will setuid to
`turnserver` itself.
This commit is contained in:
Jan Alexander Steffens (heftig) 2022-08-31 20:02:33 +02:00
parent 366b80544a
commit 37e1aa1269
No known key found for this signature in database
GPG Key ID: 3B94A80E50A477C7
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,2 @@
[Service]
User=root

View File

@ -292,6 +292,11 @@
notify:
- Restart matrix-appservice-irc
- name: Install turnserver unit snippet
copy: src=turnserver.service.d dest=/etc/systemd/system/turnserver.service.d/override.conf owner=root group=root mode=0644
notify:
- Restart turnserver
- name: Enable synapse units
service: name={{ item }} enabled=yes
with_items: