From 6a43d874cd164414f347be0930a50b159371fb00 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 11 Sep 2022 17:36:46 +0200 Subject: [PATCH] Add mkdir command to acme.sh --- pages/02.linux/05.acme-sh/default.en.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/02.linux/05.acme-sh/default.en.md b/pages/02.linux/05.acme-sh/default.en.md index eac33bb..ee6ba30 100644 --- a/pages/02.linux/05.acme-sh/default.en.md +++ b/pages/02.linux/05.acme-sh/default.en.md @@ -29,8 +29,9 @@ Needs root to start a server on port 80 Make sure to create the `/etc/acme-sh/(url)` directory ``` -$ export url=nextcloud.exu.li \ - && (path to)/acme.sh --install-cert -d $url \ +$ export url=woodpecker.exu.li \ + && mkdir -p /etc/acme-sh/{$url} \ + && .acme.sh/acme.sh --install-cert -d $url \ --key-file /etc/acme-sh/{$url}/key.pem \ --fullchain-file /etc/acme-sh/{$url}/cert.pem \ --reloadcmd "sudo systemctl restart nginx"