]> git.llucax.com Git - software/pymin.git/blobdiff - services/vrrp/handler.py
Fix example configuration file for development.
[software/pymin.git] / services / vrrp / handler.py
index 5ddbbafbc8716f66387941a10d80dc07cdc44801..9d8e5b5dbaa3e7f151116f6501f72098e3fb2dc4 100644 (file)
@@ -1,18 +1,13 @@
 # vim: set encoding=utf-8 et sw=4 sts=4 :
 
+import logging ; log = logging.getLogger('pymin.services.vrrp')
+
 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')
-
-
-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