postrm 149 Bytes Raw Blame History Permalink 1 2 3 4 5 6 #!/bin/sh if [ $1 -ge 1 ] ; then # Package upgrade, not uninstall systemctl try-restart ${pkg.name}.service >/dev/null 2>&1 || : fi