From 3b2e0940912977aadb95b4b19f7f46c18b6ae93e Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 15 Feb 2013 12:58:31 -0500 Subject: Adding poco, libpurple-minimal and spectrum to pcr --- pcr/spectrum/logrotate.spectrum | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pcr/spectrum/logrotate.spectrum (limited to 'pcr/spectrum/logrotate.spectrum') diff --git a/pcr/spectrum/logrotate.spectrum b/pcr/spectrum/logrotate.spectrum new file mode 100644 index 000000000..ae52ff156 --- /dev/null +++ b/pcr/spectrum/logrotate.spectrum @@ -0,0 +1,10 @@ +/var/log/spectrum/*.log { + notifempty + missingok + sharedscripts + postrotate + for P in /var/run/spectrum/*.pid; do + /bin/kill -HUP `cat "$P" 2>/dev/null` 2>/dev/null || true + done + endscript +} -- cgit v1.2.3