diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-12 08:27:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 08:27:00 +0100 |
commit | 1e17d1d45a0952bab53af46d6c4dfe15ebb1110e (patch) | |
tree | e7fa2ca22a16cc2ffe2dda2931494667af985e75 /debian | |
parent | 2d3f5a03de3ebfd381582e36801c7e63d2493c71 (diff) | |
parent | ebb524702e1cd60a74b00727b7bd24d375648c78 (diff) | |
download | vyos-1x-1e17d1d45a0952bab53af46d6c4dfe15ebb1110e.tar.gz vyos-1x-1e17d1d45a0952bab53af46d6c4dfe15ebb1110e.zip |
Merge pull request #1241 from zdc/T4250-sagitta
logrotate: T4250: Fixed logrotate config generation
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyos-1x.postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index 1a4c830cc..1ca6687a3 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -93,3 +93,7 @@ for file in $DELETE; do rm -f ${file} fi done + +# Remove logrotate items controlled via CLI and VyOS defaults +sed -i '/^\/var\/log\/messages$/d' /etc/logrotate.d/rsyslog +sed -i '/^\/var\/log\/auth.log$/d' /etc/logrotate.d/rsyslog |