case "$ACTION" in
  pre)
    echo '--> Automatically stopping psd to rotate profiles back out of tmpfs.'
    echo '--> Be sure you disable psd.service and psd-resync.service manually.'
    systemctl stop psd.service
    ;;
esac