Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 51d586f0dd92c45d091f505a312e9b32 > scriptlet

apache-mpm-event-2.4.2-0.1.x86_64.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ] ; then
    # Package removal, not upgrade
    /bin/systemctl --no-reload disable httpd.service httpd-worker.service httpd-event.service > /dev/null 2>&1 || :
    /bin/systemctl stop httpd.service httpd-worker.service httpd-event.service > /dev/null 2>&1 || :
fi

POSTIN

/bin/sh
# Register the httpd service
if [ "$1" -eq "1" ] ; then 
    # Initial installation 
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi

POSTUN

/bin/sh
/bin/systemctl daemon-reload >/dev/null 2>&1 || :