diff options
-rw-r--r-- | debian/vyos-1x.install | 1 | ||||
-rwxr-xr-x | src/etc/cron.hourly/vyos-logrotate-hourly | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyos-1x.install b/debian/vyos-1x.install index 0c6c226ee..7d12f3bc1 100644 --- a/debian/vyos-1x.install +++ b/debian/vyos-1x.install @@ -1,3 +1,4 @@ +etc/cron.hourly etc/dhcp etc/ipsec.d etc/netplug 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 |