diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-06-01 20:17:51 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-06-01 20:17:56 +0300 |
commit | 5924131f6f3e75e10f6b8ff38f65f26b6419a649 (patch) | |
tree | 424a1538b2fdeccda55098351d98f9af81550419 /bin/ncp | |
parent | c71b37f2b76dac1b25a94f3a63adaa291f4a0a55 (diff) |
fail2ban: fix missing ufw filterv1.12.10
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp')
-rw-r--r-- | bin/ncp/NETWORKING/letsencrypt.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ncp/NETWORKING/letsencrypt.sh b/bin/ncp/NETWORKING/letsencrypt.sh index 6aeab17f..ae1cf7aa 100644 --- a/bin/ncp/NETWORKING/letsencrypt.sh +++ b/bin/ncp/NETWORKING/letsencrypt.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Let's encrypt certbot installation on Raspbian +# Let's encrypt certbot installation on NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com> # GPL licensed (see end of file) * Use at your own risk! @@ -42,7 +42,7 @@ EOF } # tested with certbot 0.28.0 -configure() +configure() { local DOMAIN_LOWERCASE="${DOMAIN,,}" @@ -97,7 +97,7 @@ EOF # delayed in bg so it does not kill the connection, and we get AJAX response bash -c "sleep 2 && service apache2 reload" &>/dev/null & rm -rf $ncdir/.well-known - + # Update configuration [[ "$DOCKERBUILD" == 1 ]] && update-rc.d letsencrypt enable |