Sophie

Sophie

distrib > Fedora > 19 > i386 > by-pkgid > 19b4d34915cd2d38198ac70d31ea0955 > scriptlet

etcd-0.1.2-2.fc19.i686.rpm

PREUN

/bin/sh

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

POSTIN

/bin/sh

if [ $1 -eq 1 ] ; then 
        # Initial installation 
        /usr/bin/systemctl preset etcd.service >/dev/null 2>&1 || : 
fi

POSTUN

/bin/sh

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