aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/nginx-letsencrypt.12
-rw-r--r--debian/postinst8
2 files changed, 2 insertions, 8 deletions
diff --git a/debian/nginx-letsencrypt.1 b/debian/nginx-letsencrypt.1
index e1bdc66..603c252 100644
--- a/debian/nginx-letsencrypt.1
+++ b/debian/nginx-letsencrypt.1
@@ -21,7 +21,7 @@
nginx-letsencrypt \- certificates for virtual hosts managed by nginx
.SH SYNOPSIS
.B nginx-letsencrypt
-.RI [ --test ]
+.RI [ -n|--test ]
.SH DESCRIPTION
Issue certificates from letsencrypt for virtual hosts managed by nginx.
.SH OPTIONS
diff --git a/debian/postinst b/debian/postinst
index ddd30dc..8f003ea 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -20,13 +20,7 @@ set -e
case "$1" in
configure)
- if [ ! -e /etc/letsencrypt/live/nginx/fullchain.pem ]; then
- mkdir -p /etc/letsencrypt/live/nginx
- cp /etc/ssl/certs/ssl-cert-snakeoil.pem \
- /etc/letsencrypt/live/nginx/fullchain.pem
- cp /etc/ssl/private/ssl-cert-snakeoil.key \
- /etc/letsencrypt/live/nginx/privkey.pem
- fi
+ nginx-letsencrypt
;;
abort-upgrade|abort-remove|abort-deconfigure)