initial commit of file from CVS for e-smith-base on Thu 26 Oct 11:24:52 BST 2023
This commit is contained in:
11
root/etc/logrotate.d/dhcpd
Normal file
11
root/etc/logrotate.d/dhcpd
Normal file
@@ -0,0 +1,11 @@
|
||||
/var/log/dhcpd/current /var/log/dhcpd/dhcpd.log {
|
||||
missingok
|
||||
notifempty
|
||||
create 600 root root
|
||||
su root root
|
||||
postrotate
|
||||
/usr/bin/systemctl reload-or-try-restart dhcpd
|
||||
endscript
|
||||
}
|
||||
|
||||
|
8
root/etc/logrotate.d/diald
Normal file
8
root/etc/logrotate.d/diald
Normal file
@@ -0,0 +1,8 @@
|
||||
/var/log/diald/accounting.log {
|
||||
weekly
|
||||
rotate 5
|
||||
copytruncate
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
}
|
8
root/etc/logrotate.d/systemd
Normal file
8
root/etc/logrotate.d/systemd
Normal file
@@ -0,0 +1,8 @@
|
||||
/var/log/systemd.log {
|
||||
missingok
|
||||
sharedscripts
|
||||
postrotate
|
||||
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
||||
endscript
|
||||
}
|
||||
|
Reference in New Issue
Block a user