From 8e5658727aa4f2f9f71f44e1534b1ce21cd542f2 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 5 Jul 2010 07:59:06 +0000 Subject: Add system startup/logrotate scripts. Rename conf to conf.example to prevent conf file overwriting. --- server/gentoo/logrotate.d/pracrod | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 server/gentoo/logrotate.d/pracrod (limited to 'server/gentoo/logrotate.d/pracrod') diff --git a/server/gentoo/logrotate.d/pracrod b/server/gentoo/logrotate.d/pracrod new file mode 100644 index 0000000..eab5a82 --- /dev/null +++ b/server/gentoo/logrotate.d/pracrod @@ -0,0 +1,15 @@ +# -*- shell-script -*- +# Copyright 2010 Bent Bisballe Nyeng +# Distributed under the terms of the GNU General Public License v2 + +/var/log/pracrod.log { + weekly + #create 660 root root + notifempty + size 5M + sharedscripts + missingok + postrotate + /bin/kill -s SIGHUP `cat /var/run/pracrod.pid` + endscript +} -- cgit v1.2.3