mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
prosody: restrict access to the configuration file
The file can contains secrets, such as the shared secret for a TURN server or SQL database credentials.
This commit is contained in:
parent
4453e80486
commit
5e0a8c4d19
2 changed files with 7 additions and 1 deletions
6
srcpkgs/prosody/INSTALL
Normal file
6
srcpkgs/prosody/INSTALL
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
case "${ACTION}" in
|
||||||
|
post)
|
||||||
|
chmod 640 etc/prosody/prosody.cfg.lua
|
||||||
|
chown :prosody etc/prosody/prosody.cfg.lua
|
||||||
|
;;
|
||||||
|
esac
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'prosody'
|
# Template file for 'prosody'
|
||||||
pkgname=prosody
|
pkgname=prosody
|
||||||
version=13.0.1
|
version=13.0.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--ostype=linux
|
--ostype=linux
|
||||||
|
|
Loading…
Add table
Reference in a new issue