Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 5fc691118dde6c627c6e9534a7b0c0e8 > scriptlet

tpop3d-1.5.3-29.amd64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	{
if [ -f /var/lock/subsys/tpop3d ]; then
/sbin/service tpop3d stop 1>&2 || :;
fi };	/sbin/chkconfig --del tpop3d
fi

POSTIN

/bin/sh
/sbin/chkconfig --add tpop3d
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/tpop3d ] && . /etc/sysconfig/tpop3d
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/tpop3d ]; then
/sbin/service tpop3d restart 1>&2 || :;
else
echo 'Run "/sbin/service tpop3d start" to start tpop3d daemon.'
fi
fi };