X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/b8c5dbd52084b9a710c9881e327449f9eaec0bdb..892ae599bab9c942d7b8aaa0530c3b52841a3a29:/config.py?ds=sidebyside diff --git a/config.py b/config.py index f433170..1ae766d 100644 --- a/config.py +++ b/config.py @@ -1,8 +1,10 @@ # vim: set et sts=4 sw=4 encoding=utf-8 : from services import * +from dispatcher import handler # XXX for testing only +@handler def test_func(*args): print 'func:', args @@ -13,6 +15,10 @@ routes = dict \ pickle_dir = 'var/lib/pymin/pickle/dhcp', config_dir = 'var/lib/pymin/config/dhcp', ), + dns = DnsHandler( + pickle_dir = 'var/lib/pymin/pickle/dns', + config_dir = 'var/lib/pymin/config/dns', + ) ) bind_addr = \