tor log ownership
This commit is contained in:
parent
1b72fc896d
commit
4646670138
|
@ -85,7 +85,7 @@ if [[ "$1" == "on" || "$1" == "On" || "$1" == "ON" ]]; then
|
|||
if [ -d /etc/tor ]; then
|
||||
if [ ! -f /var/log/tor.log ]; then
|
||||
touch /var/log/tor.log
|
||||
chown root:debian-tor /var/log/tor.log
|
||||
chown debian-tor:debian-tor /var/log/tor.log
|
||||
fi
|
||||
sed -i 's|#Log notice file.*|Log notice file /var/log/tor.log|g' /etc/tor/torrc
|
||||
sed -i 's|Log notice file.*|Log notice file /var/log/tor.log|g' /etc/tor/torrc
|
||||
|
|
Loading…
Reference in New Issue