Files
ports/core/apache/install
2020-04-13 14:53:21 +08:00

13 lines
276 B
Plaintext
Executable File

# package install script
action=$1
newversion=$2
oldversion=$3
case $action in
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
;;
esac