tor: make torrc readable for group tor

on SIGHUP tor tries to reload its torrc but since it runs as tor:tor and
torrc is 640 root:root this fails and tor then continues with a default
config. this change should fix this behavior.
This commit is contained in:
David Flatz 2018-03-07 15:44:13 +01:00 committed by Enno Boland
parent 802a47a7ac
commit 054c80ccd4
2 changed files with 6 additions and 1 deletions

5
srcpkgs/tor/INSTALL Normal file
View File

@ -0,0 +1,5 @@
case "${ACTION}" in
post)
chgrp tor etc/tor/torrc
;;
esac

View File

@ -1,7 +1,7 @@
# Template file for 'tor'
pkgname=tor
version=0.3.2.10
revision=1
revision=2
build_style=gnu-configure
makedepends="zlib-devel libressl-devel libevent-devel libseccomp-devel"
depends="ca-certificates torsocks"