Skip to content

Commit 101b114

Browse files
committed
add text what missing libcap means
1 parent ccd4a73 commit 101b114

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package/after_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
if command -v setcap >/dev/null 2>&1; then
44
setcap 'cap_net_bind_service=+ep' /usr/bin/frankenphp || echo "Warning: failed to set capabilities on frankenphp"
5-
echo "Users without root privileges will not be able to bind to ports < 1024."
5+
echo "Users without root privileges will not be to run 'frankenphp php-server' on ports 80/443."
66
else
77
if [ -f /etc/debian_version ]; then
88
echo "Warning: setcap not found. Install it with: sudo apt install libcap2-bin"
@@ -11,5 +11,5 @@ else
1111
else
1212
echo "Warning: setcap not found. Install the appropriate libcap package for your system."
1313
fi
14-
echo "Users without root privileges will not be able to bind to ports < 1024."
14+
echo "Users without root privileges will not be to run 'frankenphp php-server' on ports 80/443."
1515
fi

0 commit comments

Comments
 (0)