PREIN
/bin/sh
# Add the "apache" user /usr/sbin/useradd -c "Apache" -u 48 \ -s /sbin/nologin -r -d /var/www apache 2> /dev/null || :
PREUN
/bin/sh
if [ $1 = 0 ]; then /sbin/service httpd stop > /dev/null 2>&1 /sbin/chkconfig --del httpd fi
POSTIN
/bin/sh
# Register the httpd service /sbin/chkconfig --add httpd
POSTTRANS
/bin/sh
/sbin/service httpd condrestart >/dev/null 2>&1 || :