summaryrefslogtreecommitdiff
path: root/sysconf/vyatta-logrotate-hourly
diff options
context:
space:
mode:
Diffstat (limited to 'sysconf/vyatta-logrotate-hourly')
-rw-r--r--sysconf/vyatta-logrotate-hourly5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconf/vyatta-logrotate-hourly b/sysconf/vyatta-logrotate-hourly
new file mode 100644
index 00000000..055b4d5f
--- /dev/null
+++ b/sysconf/vyatta-logrotate-hourly
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+test -x /usr/sbin/logrotate || exit 0
+/usr/sbin/logrotate /etc/logrotate.conf
+