Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 471963482ff7ab7182091c5939a3c117 > scriptlet

courier-sox-server-0.06-1.amd64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	if [ -f /var/lock/subsys/courier-sox ]; then
		/etc/rc.d/init.d/courier-sox stop
	fi
	/sbin/chkconfig --del courier-sox
fi

POSTIN

/bin/sh
/sbin/chkconfig --add courier-sox

if [ -f /var/lock/subsys/courier-sox ]; then
	/etc/rc.d/init.d/courier-sox restart >&2
else
	echo "Run \"/etc/rc.d/init.d/courier-sox start\" to start courier-sox"
fi