summaryrefslogtreecommitdiff
path: root/src/etc/cron.hourly
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-18 08:22:45 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-18 08:22:55 +0200
commite5e3772eac3a646d2a0dec0cc7437ee9e364a26b (patch)
tree62215831a1dd9dd4c6d5118e4f84a1b75dec43fa /src/etc/cron.hourly
parente43dfd675313850b93508a84575515bb3611f1d7 (diff)
downloadvyos-1x-e5e3772eac3a646d2a0dec0cc7437ee9e364a26b.tar.gz
vyos-1x-e5e3772eac3a646d2a0dec0cc7437ee9e364a26b.zip
import cron.hourly script from vyatta-cfg-system
Diffstat (limited to 'src/etc/cron.hourly')
-rwxr-xr-xsrc/etc/cron.hourly/vyos-logrotate-hourly4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/etc/cron.hourly/vyos-logrotate-hourly b/src/etc/cron.hourly/vyos-logrotate-hourly
new file mode 100755
index 000000000..f4f56a9c2
--- /dev/null
+++ b/src/etc/cron.hourly/vyos-logrotate-hourly
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+test -x /usr/sbin/logrotate || exit 0
+/usr/sbin/logrotate /etc/logrotate.conf