Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > d3a93810251613a65b5bd9ae7cdfc283 > scriptlet

httpd-2.2.16-1.fc14.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 || :