29 lines
407 B
Plaintext
29 lines
407 B
Plaintext
|
#! /bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
case "$1" in
|
||
|
configure)
|
||
|
mkdir -p /opt/certbot-webroot/data
|
||
|
systemctl daemon-reload
|
||
|
systemctl --now enable certbot-webroot.service
|
||
|
|
||
|
;;
|
||
|
|
||
|
abort-upgrade|abort-remove|abort-deconfigure)
|
||
|
|
||
|
;;
|
||
|
|
||
|
*)
|
||
|
echo "postinst called with unknown argument \`$1'" >&2
|
||
|
exit 0
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
# dh_installdeb will replace this with shell code automatically
|
||
|
# generated by other debhelper scripts.
|
||
|
|
||
|
|
||
|
|
||
|
exit 0
|