diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-05-29 14:47:17 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-06-16 19:48:20 +0200 |
commit | 4d2ef43f287aa96df3d65b97977fc7a824b6b33c (patch) | |
tree | 4adba8f39e1f874c89a73993d6a6455b649b7bb9 /smartproxy | |
parent | c7edd7b68c98d105f02a5977a0ff7c2a3081f2c9 (diff) | |
download | freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.tar.gz freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.tar.xz freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.zip |
ipaplatform: Move all filesystem paths to ipaplatform.paths module
https://fedorahosted.org/freeipa/ticket/4052
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'smartproxy')
-rw-r--r-- | smartproxy/ipa-smartproxy.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/smartproxy/ipa-smartproxy.py b/smartproxy/ipa-smartproxy.py index 8cc704cf9..1e5418636 100644 --- a/smartproxy/ipa-smartproxy.py +++ b/smartproxy/ipa-smartproxy.py @@ -28,6 +28,7 @@ import traceback as tb_internal from cherrypy import response from ipalib import api from ipalib import errors +from ipaplatform.paths import paths from ipalib.request import context from ipalib.rpc import json_encode_binary from ipapython.version import VERSION, API_VERSION @@ -391,8 +392,8 @@ wsgi_config = {'environment': 'embedded', 'engine.autoreload_on': False } -api.bootstrap(context='ipasmartproxy', log='/dev/null') +api.bootstrap(context='ipasmartproxy', log=paths.DEV_NULL) api.finalize() cherrypy.config.update(wsgi_config) -start(['/etc/ipa/ipa-smartproxy.conf']) +start([paths.IPA_SMARTPROXY_CONF]) |