# 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