From f1bb67630d2233b46673806941bd71b22e6147ab Mon Sep 17 00:00:00 2001 From: Fede Date: Wed, 17 Oct 2007 21:39:25 -0300 Subject: [PATCH] Alias reload to restart in DhcpHandler (init.d script don't have reload). --- pymin/services/dhcp/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pymin/services/dhcp/__init__.py b/pymin/services/dhcp/__init__.py index 7f0bb7d..251553b 100644 --- a/pymin/services/dhcp/__init__.py +++ b/pymin/services/dhcp/__init__.py @@ -6,7 +6,7 @@ from pymin.seqtools import Sequence from pymin.dispatcher import Handler, handler, HandlerError from pymin.services.util import Restorable, ConfigWriter, InitdHandler, \ TransactionalHandler, ParametersHandler, \ - DictSubHandler + DictSubHandler, ReloadHandler __ALL__ = ('DhcpHandler',) @@ -46,8 +46,8 @@ class HostHandler(DictSubHandler): _cont_subhandler_attr = 'hosts' _cont_subhandler_class = Host -class DhcpHandler(Restorable, ConfigWriter, InitdHandler, TransactionalHandler, - ParametersHandler): +class DhcpHandler(Restorable, ConfigWriter, ReloadHandler, TransactionalHandler, + ParametersHandler, InitdHandler): r"""DhcpHandler([pickle_dir[, config_dir]]) -> DhcpHandler instance. Handles DHCP service commands for the dhcpd program. -- 2.43.0