Question: zmpkg.pl logrot
Posted: Wed Dec 04, 2024 12:20 pm
Hi
I am trying to change my log roatation so that Zonemidner is not restarted at midnight.
As far as I can tell the postrotate calls "zmpkg.pl logrot" which in turn calls "zmdc.pl logrot" and simply does some checks then restarts the zoneminder process from its pid.
If I change logrotate to use copytruncate, can I safely remove the postrotate command, or is it doing somethign else I have not noticed?
Thanks
Phil.
I am trying to change my log roatation so that Zonemidner is not restarted at midnight.
As far as I can tell the postrotate calls "zmpkg.pl logrot" which in turn calls "zmdc.pl logrot" and simply does some checks then restarts the zoneminder process from its pid.
If I change logrotate to use copytruncate, can I safely remove the postrotate command, or is it doing somethign else I have not noticed?
Thanks
Phil.