Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
ff690a03
Commit
ff690a03
authored
May 04, 2017
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webgui, restart wrong order for generating php.ini
parent
d71fbf0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
webgui.inc
src/etc/inc/plugins.inc.d/webgui.inc
+3
-3
No files found.
src/etc/inc/plugins.inc.d/webgui.inc
View file @
ff690a03
...
@@ -104,15 +104,15 @@ function webgui_configure_do($verbose = false)
...
@@ -104,15 +104,15 @@ function webgui_configure_do($verbose = false)
/* only stop the frontend when the generation was successful */
/* only stop the frontend when the generation was successful */
killbypid
(
'/var/run/lighty-webConfigurator.pid'
,
'TERM'
,
true
);
killbypid
(
'/var/run/lighty-webConfigurator.pid'
,
'TERM'
,
true
);
/* regenerate the php.ini files in case the setup has changed */
mwexec
(
'/usr/local/etc/rc.php_ini_setup'
);
/*
/*
* Force reloading all php-cgi children to
* Force reloading all php-cgi children to
* avoid hiccups with moved include files.
* avoid hiccups with moved include files.
*/
*/
killbyname
(
'php-cgi'
,
'HUP'
);
killbyname
(
'php-cgi'
,
'HUP'
);
/* regenerate the php.ini files in case the setup has changed */
mwexec
(
'/usr/local/etc/rc.php_ini_setup'
);
/* start lighthttpd */
/* start lighthttpd */
mwexec
(
'/usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf'
);
mwexec
(
'/usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf'
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment