diff options
author | Simo Sorce <simo@redhat.com> | 2013-12-03 23:20:57 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-12-04 15:26:48 -0500 |
commit | 5c7a2e17d0a0ccf6f4ddbf74ad3803bdd9d35222 (patch) | |
tree | 0a879fca92f0434f1e2e9589804dc00f4e3c4cd8 | |
parent | 31162de72532847fd0989329a408afb6a4c5b1f6 (diff) | |
download | ipsilon-5c7a2e17d0a0ccf6f4ddbf74ad3803bdd9d35222.tar.gz ipsilon-5c7a2e17d0a0ccf6f4ddbf74ad3803bdd9d35222.tar.xz ipsilon-5c7a2e17d0a0ccf6f4ddbf74ad3803bdd9d35222.zip |
Add example configuration
Signed-off-by: Simo Sorce <simo@redhat.com>
-rw-r--r-- | examples/ipsilon.conf | 3 | ||||
-rwxr-xr-x | src/ipsilon.py | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/examples/ipsilon.conf b/examples/ipsilon.conf new file mode 100644 index 0000000..6d594c2 --- /dev/null +++ b/examples/ipsilon.conf @@ -0,0 +1,3 @@ +[global] +log.iscreen = "error" +providers.dir = "../src/providers" diff --git a/src/ipsilon.py b/src/ipsilon.py index affab32..76db812 100755 --- a/src/ipsilon.py +++ b/src/ipsilon.py @@ -32,6 +32,8 @@ class Root(object): return '/' +cherrypy.config.update('ipsilon.conf') + plugins = plugin.Plugins() idp_providers = plugins.get_providers() cherrypy.config.update({'idp_providers': idp_providers}) |