mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
test setup
This commit is contained in:
@@ -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}|]
|
||||
|
||||
Reference in New Issue
Block a user