From 34a0de8124ec9b6c9e08fa7e68ff98a042dacccd Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 14 Mar 2008 14:25:13 +0000 Subject: [PATCH] Added logrotate for server and client git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9865 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/debian/gosa-si-client.logrotate | 10 ++++++++++ gosa-si/debian/gosa-si-server.logrotate | 10 ++++++++++ gosa-si/debian/rules | 1 + 3 files changed, 21 insertions(+) create mode 100644 gosa-si/debian/gosa-si-client.logrotate create mode 100644 gosa-si/debian/gosa-si-server.logrotate diff --git a/gosa-si/debian/gosa-si-client.logrotate b/gosa-si/debian/gosa-si-client.logrotate new file mode 100644 index 000000000..7e9fd81e3 --- /dev/null +++ b/gosa-si/debian/gosa-si-client.logrotate @@ -0,0 +1,10 @@ +/var/log/gosa-si-client.log { + weekly + rotate 4 + compress + missingok + postrotate + pkill -SIGUSR1 gosa-si-client > /dev/null || true + endscript +} + diff --git a/gosa-si/debian/gosa-si-server.logrotate b/gosa-si/debian/gosa-si-server.logrotate new file mode 100644 index 000000000..c10f95e34 --- /dev/null +++ b/gosa-si/debian/gosa-si-server.logrotate @@ -0,0 +1,10 @@ +/var/log/gosa-si-server.log { + weekly + rotate 4 + compress + missingok + postrotate + pkill -SIGUSR1 gosa-si-server > /dev/null || true + endscript +} + diff --git a/gosa-si/debian/rules b/gosa-si/debian/rules index 607349c89..2354826af 100755 --- a/gosa-si/debian/rules +++ b/gosa-si/debian/rules @@ -59,6 +59,7 @@ binary-indep: install dh_installcron dh_installexamples dh_installchangelogs + dh_installlogrotate #dh_installdebconf dh_installinit --init-script=gosa-si -- start 00 2 3 4 5 . stop 29 1 . -- 2.30.2