#!/bin/sh DEFAULT_SOCKET="${2}" POOL_FILE="${3}" PRIORITY="${4}" [ -r "${POOL_FILE}" ] || exit 0 SOCKET=$(sed -n 's/^listen[[:space:]]*=[[:space:]]*\([^[:space:]]*\)/\1/p' "${POOL_FILE}") [ -S "${SOCKET}" ] || exit 0 case "$1" in start|install) /usr/bin/update-alternatives --quiet --install "${DEFAULT_SOCKET}" php-fpm.sock "${SOCKET}" "${PRIORITY}" 2>/dev/null ;; stop|remove) /usr/bin/update-alternatives --quiet --remove php-fpm.sock "${SOCKET}" 2>/dev/null ;; *) exit 1 ;; esac exit 0
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
20131226 | Folder | 0755 |
|
|
20151012 | Folder | 0755 |
|
|
20160303 | Folder | 0755 |
|
|
20170718 | Folder | 0755 |
|
|
20180731 | Folder | 0755 |
|
|
20190902 | Folder | 0755 |
|
|
20200930 | Folder | 0755 |
|
|
7.0 | Folder | 0755 |
|
|
7.2 | Folder | 0755 |
|
|
php-fpm-socket-helper | File | 514 B | 0755 |
|
php-helper | File | 4.73 KB | 0644 |
|
php-maintscript-helper | File | 9.02 KB | 0644 |
|
sessionclean | File | 2.85 KB | 0755 |
|