diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:58:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:58:04 +0000 |
commit | 89f8d515746f459d7ca8e6261bd590bd1b4602bd (patch) | |
tree | e419fa4503aef64498a4e74697f5b35b26e9c8d6 /debian/netdata-apache2.postinst | |
parent | Adding upstream version 1.44.3. (diff) | |
download | netdata-89f8d515746f459d7ca8e6261bd590bd1b4602bd.tar.xz netdata-89f8d515746f459d7ca8e6261bd590bd1b4602bd.zip |
Adding debian version 1.44.3-2.debian/1.44.3-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/netdata-apache2.postinst | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/netdata-apache2.postinst b/debian/netdata-apache2.postinst new file mode 100755 index 00000000..037bdca7 --- /dev/null +++ b/debian/netdata-apache2.postinst @@ -0,0 +1,31 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + if [ -e /usr/share/apache2/apache2-maintscript-helper ] + then + . /usr/share/apache2/apache2-maintscript-helper + + apache2_invoke enmod proxy + apache2_invoke enmod proxy_http + apache2_invoke enmod rewrite + + apache2_reload restart + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |