From c157a99b0a17650ae2e4b5a166bd076a3f545944 Mon Sep 17 00:00:00 2001 From: Keagan McClelland Date: Tue, 4 Aug 2020 16:12:31 -0600 Subject: [PATCH] test setup --- src/Lib/Ssl.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Lib/Ssl.hs b/src/Lib/Ssl.hs index 00cadfc..0c06e3e 100644 --- a/src/Lib/Ssl.hs +++ b/src/Lib/Ssl.hs @@ -49,5 +49,5 @@ doesSslNeedRenew cert = do renewSslCerts :: FilePath -> ReaderT RegistryCtx IO () renewSslCerts cert = do domain <- asks $ registryHostname . appSettings - void . liftIO $ system [i|certbot renew|] + void . liftIO $ system [i|certbot renew --dry-run|] void . liftIO $ system [i|cp /etc/letsencrypt/live/#{domain}/fullchain.pem #{cert}|]