summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xipsilon/install/ipsilon-server-install5
-rw-r--r--templates/install/ipsilon.conf4
-rw-r--r--tests/test1.cfg1
3 files changed, 7 insertions, 3 deletions
diff --git a/ipsilon/install/ipsilon-server-install b/ipsilon/install/ipsilon-server-install
index 1bf0072..1ffd594 100755
--- a/ipsilon/install/ipsilon-server-install
+++ b/ipsilon/install/ipsilon-server-install
@@ -102,7 +102,8 @@ def install(plugins, args):
'datadir': args['data_dir'],
'sysuser': args['system_user'],
'ipsilondir': BINDIR,
- 'staticdir': STATICDIR}
+ 'staticdir': STATICDIR,
+ 'debugging': "True" if args['server_debugging'] else "False"}
if WSGI_SOCKET_PREFIX:
confopts['wsgi_socket'] = 'WSGISocketPrefix %s' % WSGI_SOCKET_PREFIX
files.write_from_template(ipsilon_conf,
@@ -216,6 +217,8 @@ def parse_args(plugins):
help="User account that is assigned admin privileges")
parser.add_argument('--config-profile', default=None,
help="File containing install options")
+ parser.add_argument('--server-debugging', action='store_true',
+ help="Uninstall the server and all data")
parser.add_argument('--uninstall', action='store_true',
help="Uninstall the server and all data")
diff --git a/templates/install/ipsilon.conf b/templates/install/ipsilon.conf
index 89e14f1..357a3a7 100644
--- a/templates/install/ipsilon.conf
+++ b/templates/install/ipsilon.conf
@@ -1,7 +1,7 @@
[global]
-debug = False
+debug = ${debugging}
-log.screen = False
+log.screen = ${debugging}
base.mount = "/${instance}"
base.dir = "${staticdir}"
admin.config.db = "${datadir}/adminconfig.sqlite"
diff --git a/tests/test1.cfg b/tests/test1.cfg
index 81ae254..bd592a2 100644
--- a/tests/test1.cfg
+++ b/tests/test1.cfg
@@ -21,6 +21,7 @@ testauth=yes
pam=no
krb=no
ipa=no
+server_debugging=True
[sp1_globals]
HTTPDCONFD=${TESTDIR}/sp1/conf.d