POSTIN
/bin/sh
if [ $1 -eq 1 ]; then # New install. /usr/bin/systemctl try-restart libstoragemgmt.service >/dev/null 2>&1 || : fi
POSTUN
/bin/sh
if [ $1 -eq 0 ]; then # Remove /usr/bin/systemctl try-restart libstoragemgmt.service >/dev/null 2>&1 || : fi # Need to restart lsmd if plugin is new installed or removed.