From 84710d22010a71c53ec7a2537b6899d29a31e13a Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 02 Jan 2012 15:26:47 -0500
Subject: [PATCH] - Improved check for vhosts created with the remote API FS#1950

---
 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