#!/bin/bash
# postinst script for imunify-core
set -e
case "$1" in
    configure)
        /bin/systemctl daemon-reload > /dev/null 2>&1 || :
        /bin/systemctl enable imunify-agent-proxy.socket > /dev/null 2>&1 || :
        /bin/systemctl start imunify-agent-proxy.socket > /dev/null 2>&1 || :
    ;;
    abort-upgrade|abort-remove|abort-deconfigure)
    ;;
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
exit 0
