1 #!/bin/sh /etc/rc.common
6 CONFIG=/etc/php7-fpm.conf
8 SERVICE_PID_FILE=/var/run/php7-fpm.pid
14 config_get_bool enabled "$section" 'enabled' 0
16 [ $enabled -gt 0 ] || return 1
18 service_start $PROG -y $CONFIG -g $SERVICE_PID_FILE
22 config_load 'php7-fpm'
23 config_foreach start_instance 'php7-fpm'