diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-03-26 20:44:45 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-03-26 20:46:00 +0300 |
commit | 7e40a7052348bda1cbf38126303e16c0e89df6e3 (patch) | |
tree | a5bf5b3d439e8ad804802603243bdad9acf9ac5f /bin/ncp | |
parent | 38799fd537ffc7c466f76956bd3ff8ba8cc445ac (diff) |
letsencrypt: make sure deploy dir exists
Diffstat (limited to 'bin/ncp')
-rw-r--r-- | bin/ncp/NETWORKING/letsencrypt.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp/NETWORKING/letsencrypt.sh b/bin/ncp/NETWORKING/letsencrypt.sh index 4db06edc..2462bb2e 100644 --- a/bin/ncp/NETWORKING/letsencrypt.sh +++ b/bin/ncp/NETWORKING/letsencrypt.sh @@ -78,6 +78,7 @@ rm -rf $ncdir/.well-known EOF chmod 755 /etc/cron.weekly/letsencrypt-ncp + mkdir -p /etc/letsencrypt/renewal-hooks/deploy/ncp cat > /etc/letsencrypt/renewal-hooks/deploy/ncp <<EOF #!/bin/bash /usr/local/bin/ncc notification:generate \ |