PREIN
/bin/sh
/usr/sbin/fedora-groupadd 72 -r mt-daapd &>/dev/null || :
/usr/sbin/fedora-useradd 72 -r -s /sbin/nologin -d /var/lib/mt-daapd -M -c 'mt-daapd' -g mt-daapd mt-daapd &>/dev/null || :
PREUN
/bin/sh
if [ $1 = 0 ]; then
/sbin/service mt-daapd stop >/dev/null 2>&1
/sbin/chkconfig --del mt-daapd
fi
POSTIN
/bin/sh
/sbin/chkconfig --add mt-daapd
POSTUN
/bin/sh
if [ "$1" -ge "1" ]; then
/sbin/service mt-daapd condrestart >/dev/null 2>&1 || :
fi
test "$1" != 0 || /usr/sbin/fedora-userdel mt-daapd &>/dev/null || :
test "$1" != 0 || /usr/sbin/fedora-groupdel mt-daapd &>/dev/null || :