From 4d2ef43f287aa96df3d65b97977fc7a824b6b33c Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 29 May 2014 14:47:17 +0200 Subject: ipaplatform: Move all filesystem paths to ipaplatform.paths module https://fedorahosted.org/freeipa/ticket/4052 Reviewed-By: Petr Viktorin --- smartproxy/ipa-smartproxy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'smartproxy') 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]) -- cgit