diff --git a/agent/src/Application.hs b/agent/src/Application.hs index 898d11951..e13488b46 100644 --- a/agent/src/Application.hs +++ b/agent/src/Application.hs @@ -190,7 +190,7 @@ startupSequence foundation = do withAgentVersionLog_ "App notifications refreshing" withAgentVersionLog_ "Initializing SSL certificate renewal loop" - void . forkIO . forever $ forkIO $ SSLRenew.renewSslLeafCert foundation *> sleep 86_400 + void . forkIO . forever $ forkIO (SSLRenew.renewSslLeafCert foundation) *> sleep 86_400 withAgentVersionLog_ "SSL Renewal daemon started" -- reloading avahi daemon