1 #!/bin/sh /etc/rc.common
13 config_get_bool enabled
"$section" 'enabled' 0
14 config_get port
"$section" 'port' 1026
16 [ $enabled -gt 0 ] ||
return 1
18 PHP_FCGI_CHILDREN
='' \
19 service_start
/usr
/bin
/php-fcgi
-b $port
23 config_load
'php7-fastcgi'
24 config_foreach start_instance
'php7-fastcgi'
28 service_stop
/usr
/bin
/php-fcgi