Sophie

Sophie

distrib > Momonga > 7 > x86_64 > by-pkgid > e32e11fe9a8b206ce4410fe639229c73 > scriptlet

httpd-2.2.21-4m.mo7.x86_64.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 || :