Skip to content
Snippets Groups Projects
Commit cecd4d87 authored by Bob Mottram's avatar Bob Mottram
Browse files

Retain logging for tor so that we can monitor its health

parent f2be32cb
No related branches found
No related tags found
No related merge requests found
......@@ -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/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment