Sophie

Sophie

distrib > Fedora > 14 > i386 > media > updates > by-pkgid > e649ca05209a6acf35f02549ca35e47c > scriptlet

rsyslog-4.6.3-3.fc14.i686.rpm

PREUN

/bin/sh
if [ $1 = 0 ]; then
	service rsyslog stop >/dev/null 2>&1 ||:
	/sbin/chkconfig --del rsyslog
fi

POSTIN

/bin/sh
/sbin/chkconfig --add rsyslog
for n in /var/log/{messages,secure,maillog,spooler}
do
	[ -f $n ] && continue
	umask 066 && touch $n
done

POSTUN

/bin/sh
if [ "$1" -ge "1" ]; then
	service rsyslog condrestart > /dev/null 2>&1 ||:
fi

Triggers

rsyslog < 3.0.0

/bin/sh
/bin/kill `cat /var/run/rklogd.pid 2> /dev/null` > /dev/null 2>&1 ||: