Files
ports/core/apache/apache.install
2018-08-13 23:58:19 +08:00

5 lines
187 B
Plaintext
Executable File

pre_install() {
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
}