diff --git a/src/Lib/Ssl.hs b/src/Lib/Ssl.hs index 00cadfc..821dc60 100644 --- a/src/Lib/Ssl.hs +++ b/src/Lib/Ssl.hs @@ -49,5 +49,7 @@ doesSslNeedRenew cert = do renewSslCerts :: FilePath -> ReaderT RegistryCtx IO () renewSslCerts cert = do domain <- asks $ registryHostname . appSettings + liftIO $ putStrLn $ "DOMAIN: " <> domain + liftIO $ putStrLn $ "CERT: " <> cert void . liftIO $ system [i|certbot renew|] void . liftIO $ system [i|cp /etc/letsencrypt/live/#{domain}/fullchain.pem #{cert}|]