summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorStefan Siegel <siegel@linux-mandrake.com>2001-08-09 09:24:45 +0000
committerStefan Siegel <siegel@linux-mandrake.com>2001-08-09 09:24:45 +0000
commitab7a56256478e8d97c8e5c94e899ab4f182f10c6 (patch)
tree7fb2bbb25de82a8a59b085124f7565d6af47ecec /perl-install/standalone
parent3965d609104bf6abbaab41e804a54152518f981e (diff)
downloaddrakx-ab7a56256478e8d97c8e5c94e899ab4f182f10c6.tar
drakx-ab7a56256478e8d97c8e5c94e899ab4f182f10c6.tar.gz
drakx-ab7a56256478e8d97c8e5c94e899ab4f182f10c6.tar.bz2
drakx-ab7a56256478e8d97c8e5c94e899ab4f182f10c6.tar.xz
drakx-ab7a56256478e8d97c8e5c94e899ab4f182f10c6.zip
Added logrotate for "/var/log/drakxtools_http.log"
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/interactive_http/Makefile1
-rw-r--r--perl-install/standalone/interactive_http/miniserv.logrotate7
2 files changed, 8 insertions, 0 deletions
diff --git a/perl-install/standalone/interactive_http/Makefile b/perl-install/standalone/interactive_http/Makefile
index 535d06d99..ca6a1bc37 100644
--- a/perl-install/standalone/interactive_http/Makefile
+++ b/perl-install/standalone/interactive_http/Makefile
@@ -9,6 +9,7 @@ install:
install -D miniserv.init $(PREFIX)/etc/init.d/drakxtools_http
install -D -m 644 miniserv.conf $(PREFIX)/etc/drakxtools_http.conf
install -D -m 644 miniserv.pam $(PREFIX)/etc/pam.d/miniserv
+ install -D -m 644 miniserv.logrotate $(PREFIX)/etc/logrotate.d/drakxtools_http
install -d $(DATADIR)/$(FNAME)/www
install -m 644 miniserv.pl miniserv.pem miniserv.users $(DATADIR)/$(FNAME)
diff --git a/perl-install/standalone/interactive_http/miniserv.logrotate b/perl-install/standalone/interactive_http/miniserv.logrotate
new file mode 100644
index 000000000..b1e833f9b
--- /dev/null
+++ b/perl-install/standalone/interactive_http/miniserv.logrotate
@@ -0,0 +1,7 @@
+# Logrotate file for drakxtools-http RPM
+
+/var/log/drakxtools_http.log {
+ weekly
+ notifempty
+ missingok
+}