From 444b905d2af6faf38fd25946f47be7ca8235264e Mon Sep 17 00:00:00 2001 From: root Date: Mon, 17 Aug 2020 09:06:05 +0200 Subject: [PATCH] daily autocommit --- .etckeeper | 7 ++-- logrotate.d/named | 34 +++++++++++++++++++ ...ind9.service => bind9.service.deactivated} | 0 .../multi-user.target.wants/bind9.service | 1 - .../multi-user.target.wants/smartd.service | 1 - .../override.conf | 0 6 files changed, 38 insertions(+), 5 deletions(-) create mode 100644 logrotate.d/named rename systemd/system/{bind9.service => bind9.service.deactivated} (100%) delete mode 120000 systemd/system/multi-user.target.wants/bind9.service delete mode 120000 systemd/system/multi-user.target.wants/smartd.service rename systemd/system/{bind9.service.d => named.service.d}/override.conf (100%) diff --git a/.etckeeper b/.etckeeper index e18368f..e209634 100755 --- a/.etckeeper +++ b/.etckeeper @@ -2289,6 +2289,7 @@ maybe chmod 0644 'logrotate.d/libvirtd.qemu' maybe chmod 0644 'logrotate.d/lightdm' maybe chmod 0644 'logrotate.d/mintupdate' maybe chmod 0644 'logrotate.d/mysql-server' +maybe chmod 0644 'logrotate.d/named' maybe chmod 0644 'logrotate.d/pm-utils' maybe chmod 0644 'logrotate.d/ppp' maybe chmod 0644 'logrotate.d/rsyslog' @@ -2959,9 +2960,7 @@ maybe chmod 0755 'systemd/system' maybe chmod 0644 'systemd/system.conf' maybe chmod 0755 'systemd/system.conf.d' maybe chmod 0644 'systemd/system.conf.d/50_linuxmint.conf' -maybe chmod 0644 'systemd/system/bind9.service' -maybe chmod 0755 'systemd/system/bind9.service.d' -maybe chmod 0644 'systemd/system/bind9.service.d/override.conf' +maybe chmod 0644 'systemd/system/bind9.service.deactivated' maybe chmod 0755 'systemd/system/bluetooth.target.wants' maybe chmod 0755 'systemd/system/cloud-final.service.wants' maybe chmod 0755 'systemd/system/default.target.wants' @@ -2974,6 +2973,8 @@ maybe chmod 0644 'systemd/system/hddtemp.service' maybe chmod 0644 'systemd/system/local.service' maybe chmod 0755 'systemd/system/mdmonitor.service.wants' maybe chmod 0755 'systemd/system/multi-user.target.wants' +maybe chmod 0755 'systemd/system/named.service.d' +maybe chmod 0644 'systemd/system/named.service.d/override.conf' maybe chmod 0755 'systemd/system/netfilter-persistent.service.d' maybe chmod 0644 'systemd/system/netfilter-persistent.service.d/iptables.conf' maybe chmod 0755 'systemd/system/network-online.target.wants' diff --git a/logrotate.d/named b/logrotate.d/named new file mode 100644 index 0000000..c327697 --- /dev/null +++ b/logrotate.d/named @@ -0,0 +1,34 @@ +/var/log/bind/complete-debug.log /var/log/bind/debug.log /var/log/bind/query.log /var/log/bind/security.log { + daily + olddir /var/log/bind/.old + dateext + size 4M + rotate 10 + notifempty + missingok + compress + delaycompress + sharedscripts + postrotate + /usr/sbin/rndc reload + endscript +} + +/var/log/bind/named.log { + daily + olddir /var/log/bind/.old + dateext + size 10M + rotate 20 + notifempty + missingok + compress + delaycompress + sharedscripts + postrotate + /usr/sbin/rndc reload + endscript +} + + +# vim: ts=4 filetype=conf diff --git a/systemd/system/bind9.service b/systemd/system/bind9.service.deactivated similarity index 100% rename from systemd/system/bind9.service rename to systemd/system/bind9.service.deactivated diff --git a/systemd/system/multi-user.target.wants/bind9.service b/systemd/system/multi-user.target.wants/bind9.service deleted file mode 120000 index d7c8ee4..0000000 --- a/systemd/system/multi-user.target.wants/bind9.service +++ /dev/null @@ -1 +0,0 @@ -/lib/systemd/system/bind9.service \ No newline at end of file diff --git a/systemd/system/multi-user.target.wants/smartd.service b/systemd/system/multi-user.target.wants/smartd.service deleted file mode 120000 index 2e3d023..0000000 --- a/systemd/system/multi-user.target.wants/smartd.service +++ /dev/null @@ -1 +0,0 @@ -/lib/systemd/system/smartd.service \ No newline at end of file diff --git a/systemd/system/bind9.service.d/override.conf b/systemd/system/named.service.d/override.conf similarity index 100% rename from systemd/system/bind9.service.d/override.conf rename to systemd/system/named.service.d/override.conf -- 2.39.5