diff options
Diffstat (limited to 'debian/ttyd.postinst')
-rwxr-xr-x | debian/ttyd.postinst | 28 |
1 files changed, 28 insertions, 0 deletions
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 |