Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > f508153f9c0bbcd407006d20ce83eafd > scriptlet

zoneminder-1.28.0-2.33f3612.mga5.i586.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service zoneminder $1 zoneminder

POSTIN

/bin/sh
/usr/bin/systemd-tmpfiles --create zoneminder.conf 


# Make sure that service is not automatically re-started on update as
# zmsetup should be run before re-starting to avoid db errors.
if [ $1 -eq 2 ]; then
systemctl stop zoneminder.service > /dev/null 2>&1
fi

/usr/share/rpm-helper/add-service zoneminder $1 zoneminder