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:
parent
802a47a7ac
commit
054c80ccd4
2 changed files with 6 additions and 1 deletions
5
srcpkgs/tor/INSTALL
Normal file
5
srcpkgs/tor/INSTALL
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
case "${ACTION}" in
|
||||||
|
post)
|
||||||
|
chgrp tor etc/tor/torrc
|
||||||
|
;;
|
||||||
|
esac
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tor'
|
# Template file for 'tor'
|
||||||
pkgname=tor
|
pkgname=tor
|
||||||
version=0.3.2.10
|
version=0.3.2.10
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="zlib-devel libressl-devel libevent-devel libseccomp-devel"
|
makedepends="zlib-devel libressl-devel libevent-devel libseccomp-devel"
|
||||||
depends="ca-certificates torsocks"
|
depends="ca-certificates torsocks"
|
||||||
|
|
Loading…
Add table
Reference in a new issue