X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/3a113e91bcbc8e34d9ef66915ccec80e6187332b..refs/heads/master:/services/vrrp/handler.py?ds=sidebyside diff --git a/services/vrrp/handler.py b/services/vrrp/handler.py index 5ddbbaf..e0b3f2f 100644 --- a/services/vrrp/handler.py +++ b/services/vrrp/handler.py @@ -1,18 +1,13 @@ # vim: set encoding=utf-8 et sw=4 sts=4 : -from pymin import procman -from pymin.service.util import Restorable, TransactionalHandler, \ - ReloadHandler, RestartHandler, \ - ServiceHandler, ParametersHandler - -# Logger import logging ; log = logging.getLogger('pymin.services.vrrp') -__all__ = ('VrrpHandler', 'get_service') - +from pymin import procman +from pymin.service.util import Restorable, ParametersHandler, \ + ReloadHandler, RestartHandler, \ + ServiceHandler, TransactionalHandler -def get_service(config): - return VrrpHandler(config.vrrp.pickle_dir, config.vrrp.config_dir) +__all__ = ('VrrpHandler',) # FIXME the the command should not use new parameters unless commit where called