mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 10:20:07 +00:00
13 lines
316 B
Plaintext
13 lines
316 B
Plaintext
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
|
|
}
|
|
|
|
post_install() {
|
|
msginfo
|
|
msginfo "Enable and start httpd service:"
|
|
msginfo " ln -sv /etc/sv/httpd /var/service"
|
|
msginfo
|
|
}
|
|
|