diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-06 23:49:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-07 00:00:48 +1200 |
commit | 6f9bef76fccf97a40a9f7a01e09d59b417e221ca (patch) | |
tree | 4dee63115fcdc04794cdc4d6f2d9f8a9de35815f /x | |
parent | Revert "Move .xsession into bindir where it sho... (diff) | |
download | dotfiles-6f9bef76fccf97a40a9f7a01e09d59b417e221ca.tar.gz dotfiles-6f9bef76fccf97a40a9f7a01e09d59b417e221ca.zip |
Rotate ~/.xsession-errors logs without symlink
A closer look at the startup configuration files for X11 on Debian show
that it won't actually use ERRFILE=~/.xsession-errors if the file
already exists and is a symbolic link, so we'll just rotate the logs
directly from the expected path instead, without symbolic links.
Diffstat (limited to 'x')
-rw-r--r-- | x/logrotate/config.d/config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x/logrotate/config.d/config b/x/logrotate/config.d/config index c0b1b51b..9b68b272 100644 --- a/x/logrotate/config.d/config +++ b/x/logrotate/config.d/config @@ -1,5 +1,7 @@ -~/.config/log/xsession/errors.log { +~/.xsession-errors { copytruncate daily + missingok + olddir .config/log/xsession rotate 30 } |