diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-26 10:11:32 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-26 10:11:32 +0200 |
| commit | 24ef37c302c1c7900c113dd92240000a2cacf755 (patch) | |
| tree | 1ff545207cacd32b32dd43c57064058aa2c92670 /README.md | |
| parent | 7b07552c1e0fe5798c993b1c8cd54b0465921f34 (diff) | |
| download | dist-upgrade-24ef37c302c1c7900c113dd92240000a2cacf755.tar.gz dist-upgrade-24ef37c302c1c7900c113dd92240000a2cacf755.zip | |
Ship a logrotate rule for the run log
/var/log/dist-upgrade.log grows across runs: rotate weekly, keep 8
compressed, mode 0640 root:root. Uses create rather than copytruncate
since the script reopens the file on each run.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ Environment: - `LOG` append the whole run, slackpkg output included, to this file (default `/var/log/dist-upgrade.log`; set it empty to disable) +A logrotate rule for that log ships in `logrotate.d/dist-upgrade`; install it +to `/etc/logrotate.d/`. + ## What it does 1. Snapshots the current initrd's kernel version and module list. |
