[bug-notifications] [dhcp 0004064]: RFE: Extend init script with a "restart" option

Mantis Bug Tracker noreply at opencsw.org
Mon Dec 7 16:52:14 CET 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4064 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    dhcp
Issue ID:                   4064
Category:                   packaging
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-12-03 13:29 CET
Last Modified:              2009-12-07 16:52 CET
====================================================================== 
Summary:                    RFE: Extend init script with a "restart" option
Description: 
To have dhcpd reload its configuration i currently do

    /etc/opt/csw/init.d/cswdhcpd stop
    /etc/opt/csw/init.d/cswdhcpd start

Could we get a 

    /etc/opt/csw/init.d/cswdhcpd restart

instead? Possibly with configuration file syntax checking before the stop
so that the service is only stopped when the configuration file is sane.
Something like httpd -S (in case dhcpd offers it).
====================================================================== 

---------------------------------------------------------------------- 
 (0007070) bonivart (manager) - 2009-12-07 16:52
 http://www.opencsw.org/mantis/view.php?id=4064#c7070 
---------------------------------------------------------------------- 
I have put beta 3 packages in testing now. The init script has an added
restart option that tries to look at both the configuration and the lease
file before stopping the running server.

This is totally untested though so maybe you could test it and get back to
me? I will fix/add any problems/features.




More information about the bug-notifications mailing list