You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lua-ngcp-kamailio/debian/lua-ngcp-kamailio.postinst

23 lines
433 B

#! /bin/sh
set -e
case "$1" in
configure)
if [ $(systemctl is-active kamailio-proxy) = "active" ] ; then
ngcp-sercmd proxy app_lua.reload 0 || true
echo "Kamailio proxy module 'app_lua' reloaded"
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#