[luci] [LuCI] #147: Use "stop/commit/start" rather than "commit/reload"
LuciTrac
trac at luci.subsignal.org
Fri Oct 22 05:33:40 CEST 2010
#147: Use "stop/commit/start" rather than "commit/reload"
-------------------------------+--------------------------------------------
Reporter: reporter | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: LuCI Applications | Keywords:
-------------------------------+--------------------------------------------
I have just been wrestling with the problem of not knowing what the
original configuration was for a service. The problem is that
"Save&Apply" commits the changes before calling "restart" on the init-
script. So the init-script no longer knows the original configuration to
tear down cleanly.
I would suggest that calling "stop" on the init-script before committing
the new configuration, This would provide confidence that the
configuration is still the same that was used when the service was
initially started (ie: we can trust this is the original configuration).
Then commit the new configuration and run "start".
--
Ticket URL: <http://luci.subsignal.org/ticket/147>
LuCI <http://luci.subsignal.org>
LuCI - Lua Configuration Interface
More information about the luci
mailing list