X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/3a113e91bcbc8e34d9ef66915ccec80e6187332b..a5e2677e65427f1bc577a1deba121060972801d6:/services/vpn/handler.py?ds=inline diff --git a/services/vpn/handler.py b/services/vpn/handler.py index ebfa0ab..802e089 100644 --- a/services/vpn/handler.py +++ b/services/vpn/handler.py @@ -6,17 +6,12 @@ import signal 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 -__all__ = ('VpnHandler', 'get_service') - - -def get_service(config): - return VpnHandler(config.vpn.pickle_dir, config.vpn.config_dir) +__all__ = ('VpnHandler') class Host(Sequence):