Removed dump978 log rotation until logging is added again.

pull/171/head
Joe Prochazka 2016-03-30 16:13:22 -04:00
rodzic 1fe205299e
commit 92efed97e3
1 zmienionych plików z 12 dodań i 9 usunięć

Wyświetl plik

@ -150,15 +150,18 @@ while true; do
done done
EOF EOF
echo -e "\033[33mCreating logrotate file..." # Logging has been hopefully only temporarily removed until a viable startup option is created.
echo -e "\033[37m" # Until then there is no need for log rotation...
tee /etc/logrotate.d/dump978-maint.sh > /dev/null <<EOF
/var/log/dump978.log { #echo -e "\033[33mCreating logrotate file..."
weekly #echo -e "\033[37m"
rotate 4 #tee /etc/logrotate.d/dump978-maint.sh > /dev/null <<EOF
copytruncate #/var/log/dump978.log {
} # weekly
EOF # rotate 4
# copytruncate
#}
#EOF
echo -e "\033[33mSetting permissions on dump978-maint.sh..." echo -e "\033[33mSetting permissions on dump978-maint.sh..."
echo -e "\033[37m" echo -e "\033[37m"