diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-02-15 12:58:31 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2013-02-15 12:58:31 -0500 |
commit | 3b2e0940912977aadb95b4b19f7f46c18b6ae93e (patch) | |
tree | 10ac82b7c5b8e6af2722376600214cc9ce74e558 /pcr/spectrum/logrotate.spectrum | |
parent | 20e3130d771b0f74af0ef0fc0b36c5fa184e7e8f (diff) | |
download | abslibre-3b2e0940912977aadb95b4b19f7f46c18b6ae93e.tar.gz abslibre-3b2e0940912977aadb95b4b19f7f46c18b6ae93e.tar.bz2 abslibre-3b2e0940912977aadb95b4b19f7f46c18b6ae93e.zip |
Adding poco, libpurple-minimal and spectrum to pcr
Diffstat (limited to 'pcr/spectrum/logrotate.spectrum')
-rw-r--r-- | pcr/spectrum/logrotate.spectrum | 10 |
1 files changed, 10 insertions, 0 deletions
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 +} |