Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 45ed3e6d320b8c065f16343bcb3b8d1f > scriptlet

pound-2.0.9-1.amd64.rpm

PREUN

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

POSTIN

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