From f3b669eb90f3f73bb0da7a4c5b6b73b17ac1dbf2 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Tue, 11 Oct 2011 07:16:16 -0400 Subject: [PATCH] - Fixed #1795. - Make Apache/nginx restart after a site was deleted. - Make sure the correct symlinks are deleted from the sites-enabled directory when a site is deleted (100-example.com.vhost, 900-example.com.vhost, or example.com.vhost). --- 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