|
|
@@ -179,9 +179,8 @@ if [[ "$1" == "on" || "$1" == "On" || "$1" == "ON" ]]; then
|
|
179
|
179
|
else
|
|
180
|
180
|
turn_logging_off
|
|
181
|
181
|
|
|
182
|
|
- if [ -d /etc/tor ]; then
|
|
183
|
|
- echo 'Log notice file /dev/null' > /etc/torrc.d/logging
|
|
184
|
|
- rm /var/log/tor/*
|
|
|
182
|
+ if [ -d /etc/torrc.d ]; then
|
|
|
183
|
+ echo 'Log notice file /var/log/tor/notices.log' > /etc/torrc.d/logging
|
|
185
|
184
|
fi
|
|
186
|
185
|
if [ -d /var/log/radicale ]; then
|
|
187
|
186
|
$REMOVE_FILES_COMMAND /var/log/radicale/*
|