mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Merge pull request #8673 from MikePetullo/php7
php7: facilitate running php7-fastcgi without listening on TCP socket
This commit is contained in:
@@ -11,12 +11,12 @@ start_instance() {
|
||||
local port
|
||||
|
||||
config_get_bool enabled "$section" 'enabled' 0
|
||||
config_get port "$section" 'port' 1026
|
||||
config_get port "$section" 'port'
|
||||
|
||||
[ $enabled -gt 0 ] || return 1
|
||||
|
||||
PHP_FCGI_CHILDREN='' \
|
||||
service_start /usr/bin/php-fcgi -b $port
|
||||
service_start /usr/bin/php-fcgi ${port:+-b $port}
|
||||
}
|
||||
|
||||
start() {
|
||||
|
||||
Reference in New Issue
Block a user