Retain logging for tor so that we can monitor its health
This commit is contained in:
parent
f2be32cb12
commit
cecd4d876c
|
@ -179,9 +179,8 @@ if [[ "$1" == "on" || "$1" == "On" || "$1" == "ON" ]]; then
|
|||
else
|
||||
turn_logging_off
|
||||
|
||||
if [ -d /etc/tor ]; then
|
||||
echo 'Log notice file /dev/null' > /etc/torrc.d/logging
|
||||
rm /var/log/tor/*
|
||||
if [ -d /etc/torrc.d ]; then
|
||||
echo 'Log notice file /var/log/tor/notices.log' > /etc/torrc.d/logging
|
||||
fi
|
||||
if [ -d /var/log/radicale ]; then
|
||||
$REMOVE_FILES_COMMAND /var/log/radicale/*
|
||||
|
|
Loading…
Reference in New Issue