[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

override logrotate.timer from another package?



Hi folks,

what is the recommended way to override logrotate.timer from a
metapackage to get hourly logfile rotation (depending on size
and age of the logfile, as usual)?

I had added

	etc/systemd/system/logrotate.timer.d/hourly.conf

to the package install file, but at upgrade time it complained
that nobody ran systemctl daemon-reload. Ain't this the job of
the DEBHELPER macro in the postinst script?

Should this file be installed in /lib/systemd/system/logrotate.timer.d
instead, using dh_installsystemd ?


Every insightful is highly appreciated

Harri


Reply to: