diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-10-23 04:57:38 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-10-23 04:57:38 -0300 |
commit | db83c17ba25c263db80a7999254a255b14ef0e37 (patch) | |
tree | 8825488946334cc194a8490ad7944218fe3896a9 /social/spectrum/logrotate.spectrum | |
parent | 128fec48de2a334c7af257ce0efe3315e5055ba6 (diff) |
social/{asterisk,dropbear,openswan,poco,sipwitch,spectrum,ucommon}
Diffstat (limited to 'social/spectrum/logrotate.spectrum')
-rw-r--r-- | social/spectrum/logrotate.spectrum | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/social/spectrum/logrotate.spectrum b/social/spectrum/logrotate.spectrum new file mode 100644 index 000000000..ae52ff156 --- /dev/null +++ b/social/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 +} |