maybe chmod 0644 'login.defs'
maybe chmod 0644 'logrotate.conf'
maybe chmod 0755 'logrotate.d'
+maybe chmod 0755 'logrotate.d/.from-pkg'
+maybe chmod 0755 'logrotate.d/.from-pkg/2021-02-03'
maybe chmod 0644 'logrotate.d/alternatives'
maybe chmod 0644 'logrotate.d/apt'
maybe chmod 0644 'logrotate.d/aptitude'
sharedscripts
postrotate
test -x /usr/bin/mysqladmin || exit 0
- if [ -f `my_print_defaults --mysqld | grep -oP "pid-file=\K[^$]+"` ]; then
+ if [ -f `my_print_defaults --mysqld | grep -m 1 -oP "pid-file=\K.+$"` ]; then
# If this fails, check debian.conf!
- mysqladmin --defaults-file=/etc/mysql/debian.cnf flush-logs
+ mysqladmin --defaults-file=/etc/mysql/debian.cnf --local flush-error-log \
+ flush-engine-log flush-general-log flush-slow-log
fi
endscript
}
olddir /var/log/.old
sharedscripts
postrotate
- invoke-rc.d rsyslog rotate > /dev/null
+ /usr/lib/rsyslog/rsyslog-rotate
endscript
}
olddir /var/log/.old
sharedscripts
postrotate
- invoke-rc.d rsyslog rotate > /dev/null
+ /usr/lib/rsyslog/rsyslog-rotate
endscript
}
olddir /var/log/syslog.d/.old
sharedscripts
postrotate
- invoke-rc.d rsyslog rotate > /dev/null
+ /usr/lib/rsyslog/rsyslog-rotate
endscript
}
size 1M
sharedscripts
postrotate
- invoke-rc.d ulogd2 reload > /dev/null
+ if [ -d /run/systemd/system ] && command systemctl >/dev/null 2>&1 && systemctl is-active --quiet ulogd2.service; then
+ systemctl kill --kill-who main --signal=SIGHUP ulogd2.service
+ else
+ invoke-rc.d ulogd2 reload > /dev/null
+ fi
endscript
}
|____/ \__,_|_| \__,_|_| |_|
-Kleine Mädchen scheinen am leichtesten gut erzogen, weil ihre Natur
-nicht heftig, sondern immer furchtsam ist und also jeden Schein der
-Erziehung leichter nachspiegelt.
- -- Jean Paul
+Wußten Sie schon...
+... daß der Hintern zu sehen bleibt, wenn man den Kopf in den Sand steckt?
Today is Prickle-Prickle, the 34th day of Chaos in the YOLD 3187