From c7e47ed3dfb9116dbeb8a444ec8f2fb1a41d34f9 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Fri, 23 Sep 2011 08:33:25 -0400
Subject: [PATCH] - Added "ipv6only=on" to the IPv6 listen lines in the nginx vhost template to avoid "[emerg]: bind() to [::]:80 failed (98: Address already in use)" errors.

---
 install/sql/incremental/upd_0002.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install/sql/incremental/upd_0002.sql b/install/sql/incremental/upd_0002.sql
index bebbcc2..e71e111 100644
--- a/install/sql/incremental/upd_0002.sql
+++ b/install/sql/incremental/upd_0002.sql
@@ -1,4 +1,4 @@
-CREATE TABLE `sys_session` (
+CREATE TABLE IF NOT EXISTS `sys_session` (
   `session_id` varchar(32) NOT NULL default '',
   `date_created` datetime NOT NULL default '0000-00-00 00:00:00',
   `last_updated` datetime NOT NULL default '0000-00-00 00:00:00',

--
Gitblit v1.9.1