Add stratux logrotate conf.

#765.
rxwx
cyoung 2019-01-17 16:56:51 -05:00
rodzic bcceaab2ee
commit 362a2ffb39
3 zmienionych plików z 15 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,12 @@
# Keep 10 days of stratux logfiles.
/var/log/stratux.log
{
rotate 10
daily
missingok
notifempty
compress
postrotate
/usr/bin/killall -HUP gen_gdl90
endscript
}

Wyświetl plik

@ -38,7 +38,8 @@ cp image/stratux-wifi.sh work/bin/
cp image/rc.local work/bin/
cp image/dhcpd.conf work/bin/
cp image/interfaces work/bin/
cp image/logrotate.conf work/bin
cp image/logrotate.conf work/bin/
cp image/logrotate_d_stratux work/bin/
cp test-data/ahrs/ahrs_table.log work/bin/
cp ahrs_approx work/bin/

Wyświetl plik

@ -25,6 +25,7 @@ cp -f hostapd-edimax.conf /etc/hostapd/hostapd-edimax.conf
#logrotate config
cp -f logrotate.conf /etc/logrotate.conf
cp -f logrotate_d_stratux /etc/logrotate.d/stratux
#WiFi Hostapd ver test and hostapd.conf builder script
cp -f stratux-wifi.sh /usr/sbin/