Files
ports/main/apache/pre-install.sh
2021-05-12 08:11:10 +08:00

5 lines
178 B
Bash

#!/bin/sh
getent group apache >/dev/null || groupadd -g 25 apache
getent passwd apache >/dev/null || useradd -c "Apache Server" -d /srv/www -g apache -s /bin/false -u 25 apache