diff options
-rw-r--r-- | perl-install/standalone/interactive_http/Makefile | 1 | ||||
-rw-r--r-- | perl-install/standalone/interactive_http/miniserv.logrotate | 7 |
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 +} |