21 lines
389 B
Bash
Executable File
21 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
[ -z "$PLESK_INSTALLER_DEBUG" ] || set -x
|
|
[ -z "$PLESK_INSTALLER_STRICT_MODE" ] || set -e
|
|
|
|
case "$1" in
|
|
configure|reconfigure)
|
|
if [ "X$2" != "X" ]; then
|
|
# new upgrading package
|
|
systemctl condrestart plesk-php74-fpm.service || :
|
|
fi
|
|
|
|
;;
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
;;
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|