Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > f6d7d9fd82b53d61bcf8a9fa9dd18727 > scriptlet

httpd-2.2.17-10.fc15.1.i686.rpm

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 || :