]> git.llucax.com Git - software/pymin.git/blobdiff - config.py
Vpn Handler added to config.py.
[software/pymin.git] / config.py
index db3151b2f93a4125e33cacd519736e817a33a5a4..ff7585623cf37c2164c67f94d457df589d8d9b59 100644 (file)
--- a/config.py
+++ b/config.py
@@ -26,6 +26,10 @@ class Root(Handler):
             'nameX':        '/etc/ppp/peers',
         })
 
+    vpn = VpnHandler(
+         pickle_dir = join(pickle_path, 'vpn'),
+         config_dir = join(config_path, 'vpn'))
+
     ip = IpHandler(
         pickle_dir = join(pickle_path, 'ip'),
         config_dir = join(config_path, 'ip'))
@@ -43,13 +47,17 @@ class Root(Handler):
 
     proxy = ProxyHandler(
         pickle_dir = join(pickle_path, 'proxy'),
-        config_dir = '/etc/squid')
+        config_dir = join(config_path, 'proxy'))
 
     vrrp = VrrpHandler(
         pickle_dir = join(pickle_path, 'vrrp'),
         config_dir = join(config_path, 'vrrp'),
         pid_dir    = '/var/run')
 
+    qos = QoSHandler(
+       pickle_dir = join(pickle_path, 'qos'),
+       config_dir = join(config_path, 'qos'))
+
 bind_addr = \
 (
     '',   # Bind IP ('' is ANY)