]> Frank Brehm's Git Trees - config/samara/etc.git/commitdiff
Current state
authorFrank Brehm <frank.brehm@profitbricks.com>
Tue, 2 Jul 2013 07:24:26 +0000 (09:24 +0200)
committerFrank Brehm <frank.brehm@profitbricks.com>
Tue, 2 Jul 2013 07:24:26 +0000 (09:24 +0200)
cron.daily/logrotate [new file with mode: 0755]

diff --git a/cron.daily/logrotate b/cron.daily/logrotate
new file mode 100755 (executable)
index 0000000..f9ce2b6
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+#/usr/sbin/logrotate /etc/logrotate.conf
+
+if [ -x /usr/scripts/logrotate.pl ] ; then
+    /usr/scripts/logrotate.pl >> /var/log/logrotate.log
+fi
+