Sophie

Sophie

distrib > Mageia > 8 > i586 > media > core-release > by-pkgid > 13fcce540dad85d787c00a09078c41ff > scriptlet

supervisor-4.2.1-1.mga8.noarch.rpm

PREUN

/bin/sh

 
if [ $1 -eq 0 ] && [ -x /usr/bin/systemctl ]; then 
        # Package removal, not upgrade 
        /usr/bin/systemctl --no-reload disable --now supervisor.service || : 
fi

POSTIN

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


 
if [ $1 -eq 1 ] && [ -x /usr/bin/systemctl ]; then 
        # Initial installation 
        /usr/bin/systemctl --no-reload preset supervisor.service || : 
fi

POSTUN

/bin/sh
# Don't restart supervisord here, we don't want its children to be restarted
# when the supervisor package is upgraded. Admins need to manually reload or
# restart supervisord.service.