Sophie

Sophie

distrib > Fedora > 14 > i386 > media > os > by-pkgid > 6fc223cda22a43478d1379b12587e53a > scriptlet

cherokee-1.0.4-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