Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin/ncp
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-03-26 20:44:45 +0300
committernachoparker <nacho@ownyourbits.com>2019-03-26 20:46:00 +0300
commit7e40a7052348bda1cbf38126303e16c0e89df6e3 (patch)
treea5bf5b3d439e8ad804802603243bdad9acf9ac5f /bin/ncp
parent38799fd537ffc7c466f76956bd3ff8ba8cc445ac (diff)
letsencrypt: make sure deploy dir exists
Diffstat (limited to 'bin/ncp')
-rw-r--r--bin/ncp/NETWORKING/letsencrypt.sh1
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 \