mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
coturn: restrict access to the configuration file
The file can contain secrets, in particular a shared secret used by other services to generate credentials for the TURN server.
This commit is contained in:
parent
123f290f14
commit
4453e80486
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
case "${ACTION}" in
|
case "${ACTION}" in
|
||||||
post)
|
post)
|
||||||
setcap CAP_NET_BIND_SERVICE=+ep usr/bin/turnserver
|
setcap CAP_NET_BIND_SERVICE=+ep usr/bin/turnserver
|
||||||
|
chmod 640 etc/turnserver.conf
|
||||||
|
chown :_coturn etc/turnserver.conf
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'coturn'
|
# Template file for 'coturn'
|
||||||
pkgname=coturn
|
pkgname=coturn
|
||||||
version=4.7.0
|
version=4.7.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
|
|
Loading…
Add table
Reference in a new issue