mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
fixes path removal
This commit is contained in:
@@ -526,7 +526,7 @@ replaceDerivativeCerts = do
|
||||
ExitFailure n -> throwError $ OpenSslE "leaf" n out' err'
|
||||
|
||||
sslDir <- toS <$> getAbsoluteLocationFor sslDirectory
|
||||
liftIO $ removeDirectory sslDir
|
||||
liftIO $ removePathForcibly sslDir
|
||||
liftIO $ renameDirectory sslDirTmp sslDir
|
||||
liftIO $ systemCtl RestartService "nginx" $> ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user