summaryrefslogtreecommitdiff
path: root/network/tinc/tinc.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'network/tinc/tinc.logrotate')
-rw-r--r--network/tinc/tinc.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/tinc/tinc.logrotate b/network/tinc/tinc.logrotate
new file mode 100644
index 0000000000..71521b24bd
--- /dev/null
+++ b/network/tinc/tinc.logrotate
@@ -0,0 +1,11 @@
+/var/log/tinc.* {
+ rotate 10
+ notifempty
+ size=5M
+ compress
+ delaycompress
+ sharedscripts
+ postrotate
+ /etc/rc.d/rc.tinc restart
+ endscript
+}