mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
system: bring stop/start a little closer together #6351
This commit is contained in:
parent
4e1dc4c783
commit
3b61b10bb5
@ -117,9 +117,6 @@ function webgui_configure_do($verbose = false, $interface = '')
|
||||
/* regenerate the php.ini files in case the setup has changed */
|
||||
configd_run('template reload OPNsense/WebGui');
|
||||
|
||||
/* stop the frontend when the generation was completed */
|
||||
killbypid('/var/run/lighty-webConfigurator.pid', 'INT', true);
|
||||
|
||||
/* flush Phalcon volt templates */
|
||||
foreach (glob('/usr/local/opnsense/mvc/app/cache/*.php') as $filename) {
|
||||
unlink($filename);
|
||||
@ -132,6 +129,9 @@ function webgui_configure_do($verbose = false, $interface = '')
|
||||
@touch('/var/run/development');
|
||||
}
|
||||
|
||||
/* stop the frontend when the generation was completed */
|
||||
killbypid('/var/run/lighty-webConfigurator.pid', 'INT', true);
|
||||
|
||||
/*
|
||||
* Force reloading all php-cgi children to
|
||||
* avoid hiccups with moved include files.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user