Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > 8505647e17c159a6dadd033425af60d8 > scriptlet

eximstate-client-1.1-3.amd64.rpm

PREUN

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

POSTIN

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