Logrotating and running a command

José Pablo Fernández pablo.fernandez at rs.com.ar
Fri Mar 16 22:22:18 UTC 2007


Hello,
I need to rotate some logs, but instead of getting the PID out of a file and 
sending a SIGHUP to that process, like newsyslog does, I need to run a 
command.
Is that possible with newsyslog? how should I do it?
Thank you.
-- 
José Pablo Fernández
pablo.fernandez at rs.com.ar


More information about the freebsd-questions mailing list