We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0d85f4 commit 9ac49d4Copy full SHA for 9ac49d4
2 files changed
package/rhel/postuninstall.sh
@@ -5,7 +5,6 @@ if [ "$1" -ge 1 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then
5
/usr/lib/systemd/systemd-update-helper mark-restart-system-units frankenphp.service || :
6
fi
7
8
-
9
if [ "$1" -eq 0 ]; then
10
if [ -x /usr/sbin/getsebool ]; then
11
# connect to ACME endpoint to request certificates
package/rhel/preinstall.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
-getent group frankenphp &>/dev/null || \
+getent group frankenphp &>/dev/null ||
4
groupadd -r frankenphp &>/dev/null
-getent passwd frankenphp &>/dev/null || \
+getent passwd frankenphp &>/dev/null ||
useradd -r -g frankenphp -d /var/lib/frankenphp -s /sbin/nologin -c 'FrankenPHP web server' frankenphp &>/dev/null
exit 0
0 commit comments