From 0409e98822a933e551cbbbfa6ac9542cc24f3be6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 19 Jul 2022 13:32:38 +0200 Subject: Updating. Signed-off-by: Daniel Baumann --- debian/ttyd.postinst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 debian/ttyd.postinst (limited to 'debian/ttyd.postinst') diff --git a/debian/ttyd.postinst b/debian/ttyd.postinst new file mode 100755 index 0000000..b3a83c8 --- /dev/null +++ b/debian/ttyd.postinst @@ -0,0 +1,28 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + a2enmod rewrite + a2enmod proxy + a2enmod proxy_http + a2enmod proxy_http2 + a2enmod proxy_wstunnel + + a2enconf ttyd + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 -- cgit v1.2.3