Sophie

Sophie

distrib > Fedora > 14 > i386 > media > updates > by-pkgid > 0bc3911a6f2c7b390e1d45220c620af4 > scriptlet

cherokee-1.2.101-1.fc14.i686.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