X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/031a757fb7b600a9015d018011cc7b135d7c8627..296d853cc95fd5bef262248cfe21b507abd26a4f:/config.py?ds=sidebyside diff --git a/config.py b/config.py index f135b23..059faae 100644 --- a/config.py +++ b/config.py @@ -1,7 +1,7 @@ # vim: set et sts=4 sw=4 encoding=utf-8 : -from services import * -from dispatcher import handler +from pymin.services import * +from pymin.dispatcher import handler # XXX for testing only @handler @@ -22,6 +22,14 @@ routes = dict \ pickle_dir = 'var/lib/pymin/pickle/firewall', config_dir = 'var/lib/pymin/config/firewall', ), + ip = IpHandler( + pickle_dir = 'var/lib/pymin/pickle/ip', + config_dir = 'var/lib/pymin/config/ip', + ), + proxy = ProxyHandler( + pickle_dir = 'var/lib/pymin/pickle/proxy', + config_dir = 'var/lib/pymin/config/proxy', + ), ) bind_addr = \