From e44ec98e1548598510348b10b3ae7c289dc763c0 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 26 Sep 2011 04:18:47 -0400
Subject: [PATCH] Fixed: FS#1754 - Fatal error during installation on non-Debian/Ubuntu systems - I had to remove the fail2ban caonfig for now as its incomplete and adds rules for dovecot on courier systems. It is planned to add a complete fail2ban configuration in one of the next releases.

---
 server/scripts/create_daily_nginx_access_logs.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/scripts/create_daily_nginx_access_logs.sh b/server/scripts/create_daily_nginx_access_logs.sh
index 44d7f6b..862c70f 100644
--- a/server/scripts/create_daily_nginx_access_logs.sh
+++ b/server/scripts/create_daily_nginx_access_logs.sh
@@ -6,4 +6,4 @@
   mv $f/access.log $f/`date "+%Y%m%d"`-access.log &> /dev/null
   touch $f/access.log &> /dev/null
 done
-/etc/init.d/nginx reload  &> /dev/null
\ No newline at end of file
+pkill -USR1 -u root nginx &> /dev/null
\ No newline at end of file

--
Gitblit v1.9.1