kopia lustrzana https://github.com/jprochazka/adsb-receiver
Removed dump978 log rotation until logging is added again.
rodzic
1fe205299e
commit
92efed97e3
|
@ -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"
|
||||||
|
|
Ładowanie…
Reference in New Issue