diff options
author | Rob Crittenden <rcritten@redhat.com> | 2014-05-06 15:52:11 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-05-13 13:12:15 +0200 |
commit | 74412dbf88f78b19a54c35e326e173f5344922d0 (patch) | |
tree | 7df8d57cb007442da485698516643f9dae61acaf /smartproxy/ipa-smartproxy.py | |
parent | 6d618853a4d519c8671e2e38f1aaa290a6d62b83 (diff) | |
download | freeipa-74412dbf88f78b19a54c35e326e173f5344922d0.tar.gz freeipa-74412dbf88f78b19a54c35e326e173f5344922d0.tar.xz freeipa-74412dbf88f78b19a54c35e326e173f5344922d0.zip |
Clean up Smartproxy support, drop unused code
Drop the logrotate file because Apache manages the logs
Drop the systemd configuration because we run in Apache
Import json_encode_binary from ipalib
Fix Requires
Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
Diffstat (limited to 'smartproxy/ipa-smartproxy.py')
-rw-r--r-- | smartproxy/ipa-smartproxy.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/smartproxy/ipa-smartproxy.py b/smartproxy/ipa-smartproxy.py index 23788ecf5..8cc704cf9 100644 --- a/smartproxy/ipa-smartproxy.py +++ b/smartproxy/ipa-smartproxy.py @@ -1,5 +1,3 @@ -#!/usr/bin/python2 -E -# # Authors: # Rob Crittenden <rcritten@redhat.com> # @@ -31,7 +29,7 @@ from cherrypy import response from ipalib import api from ipalib import errors from ipalib.request import context -from ipaserver.rpcserver import json_encode_binary +from ipalib.rpc import json_encode_binary from ipapython.version import VERSION, API_VERSION from ipapython.ipa_log_manager import root_logger @@ -393,7 +391,7 @@ wsgi_config = {'environment': 'embedded', 'engine.autoreload_on': False } -api.bootstrap(context='ipasmartproxy') +api.bootstrap(context='ipasmartproxy', log='/dev/null') api.finalize() cherrypy.config.update(wsgi_config) |