aboutsummaryrefslogtreecommitdiff
path: root/network/tinc/tinc.logrotate
diff options
context:
space:
mode:
authorKevin Scranton <kevin@nwabytes.com>2017-09-10 13:18:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-10 13:22:44 +0700
commit6007ad68616fee231d8284f4c0bc2a6b2e00800a (patch)
tree96c250a3bc919b4e067b6eb8ecdfd23bd8142ad3 /network/tinc/tinc.logrotate
parenta71fcd77144c187a70ae34d8829ff5e2bbe8b6d6 (diff)
network/tinc: Updated for version 1.0.32.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 000000000000..71521b24bde9
--- /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
+}