| Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 Path : /usr/share/cagefs/ |
| Current File : //usr/share/cagefs/065-passenger-cagefs |
#!/bin/bash
ARGS=$@
PACKAGE="ea-apache24-mod-passenger"
# passed arguments appears to be '--pkg_list=/tmp/tmp3fgs68qr',
# specifying the file containing the list of packages
# involved in the current transaction
file_name=$(echo "$ARGS" | awk -F '=' '{print $2}')
packages=$(cat "$file_name")
if [[ "$packages" =~ $PACKAGE ]]; then
/usr/sbin/cagefsctl --reconfigure-cagefs
fi
exit 0