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
|
@ -0,0 +1,5 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
chgrp tor etc/tor/torrc
|
||||
;;
|
||||
esac
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue