diff --git a/main.go b/main.go index 915e55cd3..3dbf38566 100644 --- a/main.go +++ b/main.go @@ -37,8 +37,6 @@ func main() { usingExternalStorage = true } - resetDirectories(configuration) - if usingExternalStorage { storage.Setup(configuration) go monitorVideoContent(configuration.PrivateHLSPath, configuration, storage) @@ -46,6 +44,7 @@ func main() { go startRTMPService() + resetDirectories(configuration) startWebServer() }