mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 10:21:51 +00:00
print check
This commit is contained in:
@@ -183,6 +183,8 @@ startApp foundation = do
|
||||
|
||||
-- certbot renew loop
|
||||
void . forkIO $ forever $ do
|
||||
putStrLn $ "DOMAIN: " <> registryHostname (appSettings foundation)
|
||||
putStrLn $ "CERT: " <> sslCertLocation (appSettings foundation)
|
||||
shouldRenew <- doesSslNeedRenew (sslCertLocation $ appSettings foundation)
|
||||
when shouldRenew $ do
|
||||
putStrLn @Text "Renewing SSL Certs."
|
||||
|
||||
Reference in New Issue
Block a user