Sophie

Sophie

distrib > Momonga > 7 > x86_64 > media > updates > by-pkgid > dbe763bfa2ca6d5696e70548e772a8c0 > scriptlet

lighttpd-1.4.30-1m.mo7.x86_64.rpm

PREIN

/bin/sh
/usr/sbin/useradd -s /sbin/nologin -M -r -d /var/www/lighttpd \
    -c "lighttpd web server" lighttpd &>/dev/null || :

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
    /sbin/service lighttpd stop &>/dev/null || :
    /sbin/chkconfig --del lighttpd
fi

POSTIN

/bin/sh
/sbin/chkconfig --add lighttpd

POSTUN

/bin/sh
if [ $1 -ge 1 ]; then
    /sbin/service lighttpd condrestart &>/dev/null || :
fi