We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b6ac7f commit fe951edCopy full SHA for fe951ed
package/debian/postinst.sh
@@ -58,4 +58,10 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-decon
58
fi
59
60
61
-HOME=~frankenphp frankenphp trust
+if command -v setcap >/dev/null 2>&1; then
62
+ setcap cap_net_bind_service=+ep /usr/bin/frankenphp || true
63
+fi
64
+
65
+if [ -x /usr/bin/frankenphp ]; then
66
+ HOME=/var/lib/frankenphp /usr/bin/frankenphp trust || true
67
package/rhel/postinstall.sh
@@ -24,3 +24,6 @@ if [ -x /usr/sbin/semanage ]; then
24
# admin endpoint
25
semanage port --add --type http_port_t --proto tcp 2019 2>/dev/null || :
26
27
28
+ setcap cap_net_bind_service=+ep /usr/bin/frankenphp || :
29
0 commit comments