Submit
Path:
~
/
/
lib
/
php
/
File Content:
php-fpm-socket-helper
#!/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
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
20210902
---
0755
8.1
---
0755
php-fpm-socket-helper
514 bytes
0755
php-helper
4845 bytes
0644
php-maintscript-helper
9234 bytes
0644
sessionclean
2976 bytes
0755
N4ST4R_ID | Naxtarrr