From ee40473a1862a4b78e7344f74b3e76a839fc8318 Mon Sep 17 00:00:00 2001 From: Eugene Ware Date: Sun, 7 Jul 2013 20:17:19 +1000 Subject: [PATCH] Remove socket file before listening for reload --- plugins/nginx-vhosts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/nginx-vhosts/install b/plugins/nginx-vhosts/install index fedcc9d0f..f47dfa590 100755 --- a/plugins/nginx-vhosts/install +++ b/plugins/nginx-vhosts/install @@ -7,6 +7,7 @@ apt-get install -y nginx dnsutils cat< /etc/init/nginx-reloader.conf script + rm -rf /home/git/reload-nginx echo | sudo -u git nc -l -U /home/git/reload-nginx && /etc/init.d/nginx reload end script respawn