mirror of
https://github.com/Start9Labs/registry.git
synced 2026-04-04 13:49:43 +00:00
test setup
This commit is contained in:
@@ -185,6 +185,7 @@ startApp foundation = do
|
|||||||
void . forkIO $ forever $ do
|
void . forkIO $ forever $ do
|
||||||
putStrLn $ "DOMAIN: " <> registryHostname (appSettings foundation)
|
putStrLn $ "DOMAIN: " <> registryHostname (appSettings foundation)
|
||||||
putStrLn $ "CERT: " <> sslCertLocation (appSettings foundation)
|
putStrLn $ "CERT: " <> sslCertLocation (appSettings foundation)
|
||||||
|
runReaderT (renewSslCerts (sslCertLocation $ appSettings foundation)) foundation
|
||||||
shouldRenew <- doesSslNeedRenew (sslCertLocation $ appSettings foundation)
|
shouldRenew <- doesSslNeedRenew (sslCertLocation $ appSettings foundation)
|
||||||
when shouldRenew $ do
|
when shouldRenew $ do
|
||||||
putStrLn @Text "Renewing SSL Certs."
|
putStrLn @Text "Renewing SSL Certs."
|
||||||
|
|||||||
Reference in New Issue
Block a user