Commit Graph

13 Commits

Author SHA1 Message Date
Aristo Chen
78894792a5
Update URLs (#2870)
* Update URLs

* Update URLs

* Update URLs
2021-06-10 11:27:51 +02:00
lanefu
7352426629
Ar 445 (#2233)
* add journalctl vacuum

* remove absolute path of journalctl. only run if journal in /var/log
2020-10-01 00:16:51 +00:00
lanefu
c6e01744e3
add journalctl vacuum to armbian-truncate-logs (#2224) 2020-09-26 02:29:50 +00:00
michlv
ce7dec8719
Truncate logs: add -r to xargs to suppress calling with no arguments (#1889) 2020-04-17 21:14:40 +02:00
Igor Pecovnik
aa42d5f453
Cosmetical: disabling DEBUG on EXT4 which is disabled everywhere, but on two remaining kernels. Also disable erros if files not found in armbian-truncate 2020-01-03 00:55:54 +01:00
Roman Ondráček
faa9a74719
Truncate logs: keep log files ownership
Signed-off-by: Roman Ondráček <ondracek.roman@centrum.cz>
2019-12-27 22:58:49 +01:00
Quien Sabe
d3257d247c added missing mail logs, and firewalld log 2019-05-14 09:35:53 -04:00
Igor Pečovnik
b261e4d4c2
[bugfix] enable truncate logs
only if armbian-ramlog is enabled
2018-11-03 07:27:03 +01:00
Igor Pečovnik
00f3406cda
Bugfix
Absolute path is needed here
2018-10-01 09:07:26 +02:00
Igor Pecovnik
04254c4878 Fixing crontab and adjusting logrotate command
https://github.com/armbian/build/issues/1021
2018-06-20 09:49:06 +02:00
Igor Pečovnik
a0a49416e0 Bugfix and add another file to cleaning list 2018-06-17 13:07:02 +00:00
Igor Pečovnik
75e17b0e21 Switch logic. logrotate is active at /var/log.hdd if we use it. Compression happens only there. Truncate script (if /var/log is over 75%) saves logs, run logrotate on log.hdd and truncate logs. ZRAM partition was switched back to EXT4 since there are many troubles with older kernels. Image size was reduced due to lack of swap creation. 2018-06-17 11:52:15 +00:00
Igor Pečovnik
fc07886a1d
Bsp services RFC (#1015)
* Basic armbian services RFC
- tested building and upgrade
- armbian-optimize-hardware and armbian-setup-hardware have still the same content

* fix permissions

* Forther renaming and small fixes

* Odroid C2 NEXT tiny config adjustement to remove errros from bootup and moving u-boot to 2018.05

* More cleanings

* permissions fix

* More cleanup ...

* permi

* Remove few Ubuntu related things, fix permissions

* Further mini improvements

* Fix logrotate compression and permission issues

* Bugfix

* Wrong services setup at package install. fixing

* RAM logging: workaround for older kernel/btrfs driver versions

* Renaming services, proper config for zram, few bugfixes.

* Various fixes

* Various fixes

* No $TMPFILE needed here

* Various fixes

* Lower this so boards with low memory can use it too

* Various fixes

* Adjust logfile to armbian-hardware-monitor.log

* Remove swap file creation

* Fix permissions in all logrotate configs if needed.

* Prevent loading parallel printer port drivers which we don't need here.
2018-06-16 19:41:16 +02:00