|
@@ -89,12 +89,12 @@ if [[ "$1" == "on" || "$1" == "On" || "$1" == "ON" ]]; then
|
89
|
89
|
sed -i 's|logtarget.*|logtarget = /var/log/fail2ban.log|g' /etc/fail2ban/fail2ban.conf
|
90
|
90
|
fi
|
91
|
91
|
if [ -d /etc/tor ]; then
|
92
|
|
- if [ ! -f /var/log/tor.log ]; then
|
93
|
|
- touch /var/log/tor.log
|
94
|
|
- chown debian-tor:debian-tor /var/log/tor.log
|
|
92
|
+ if [ ! -f /var/log/tor/notices.log ]; then
|
|
93
|
+ touch /var/log/tor/notices.log
|
|
94
|
+ chown debian-tor:debian-tor /var/log/tor/notices.log
|
95
|
95
|
fi
|
96
|
|
- sed -i 's|#Log notice file.*|Log notice file /var/log/tor.log|g' /etc/tor/torrc
|
97
|
|
- sed -i 's|Log notice file.*|Log notice file /var/log/tor.log|g' /etc/tor/torrc
|
|
96
|
+ sed -i 's|#Log notice file.*|Log notice file /var/log/tor/notices.log|g' /etc/tor/torrc
|
|
97
|
+ sed -i 's|Log notice file.*|Log notice file /var/log/tor/notices.log|g' /etc/tor/torrc
|
98
|
98
|
fi
|
99
|
99
|
if [ -f /etc/mumble-server.ini ]; then
|
100
|
100
|
sed -i 's|logfile=.*|logfile=/var/log/mumble-server.log|g' /etc/mumble-server.ini
|