]> git.llucax.com Git - software/pymin.git/blobdiff - services/vpn/handler.py
Fix example configuration file for development.
[software/pymin.git] / services / vpn / handler.py
index ebfa0ab433663dea3edc87b4a9194c11738b178f..802e089393ac6f9eb3c31e8760292baafeecc478 100644 (file)
@@ -6,17 +6,12 @@ import signal
 from os import path
 import logging ; log = logging.getLogger('pymin.services.vpn')
 
 from os import path
 import logging ; log = logging.getLogger('pymin.services.vpn')
 
-
 from pymin.seqtools import Sequence
 from pymin.dispatcher import Handler, handler, HandlerError
 from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
                                TransactionalHandler, DictSubHandler, DictComposedSubHandler, call, ExecutionError
 
 from pymin.seqtools import Sequence
 from pymin.dispatcher import Handler, handler, HandlerError
 from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
                                TransactionalHandler, DictSubHandler, DictComposedSubHandler, call, ExecutionError
 
-__all__ = ('VpnHandler', 'get_service')
-
-
-def get_service(config):
-    return VpnHandler(config.vpn.pickle_dir, config.vpn.config_dir)
+__all__ = ('VpnHandler')
 
 
 class Host(Sequence):
 
 
 class Host(Sequence):