From e5e3772eac3a646d2a0dec0cc7437ee9e364a26b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 18 Jun 2021 08:22:45 +0200 Subject: import cron.hourly script from vyatta-cfg-system --- src/etc/cron.hourly/vyos-logrotate-hourly | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 src/etc/cron.hourly/vyos-logrotate-hourly (limited to 'src/etc') 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 -- cgit v1.2.3