Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 0c336499d2cce64b5aa2e42184f43f9e > scriptlet

cherokee-1.2.101-1.fc14.x86_64.rpm

PREIN

/bin/sh
getent group cherokee >/dev/null || groupadd -r cherokee
getent passwd cherokee >/dev/null || \
useradd -r -g cherokee -d /var/lib/cherokee -s /sbin/nologin \
   -c "cherokee web server" cherokee
exit 0

PREUN

/bin/sh
if [ $1 = 0 ] ; then
    /sbin/service cherokee stop >/dev/null 2>&1
    /sbin/chkconfig --del cherokee
fi

POSTIN

/bin/sh
/sbin/ldconfig
/sbin/chkconfig --add cherokee

POSTUN

/bin/sh
/sbin/ldconfig