Publish console message on initial startup for disk sizing
This commit is contained in:
@@ -141,6 +141,7 @@ func (s *Server) onBeforeStart() error {
|
||||
// and process resource limits are correctly applied.
|
||||
s.SyncWithEnvironment()
|
||||
|
||||
s.PublishConsoleOutputFromDaemon("Checking server disk space usage, this could take a few seconds...")
|
||||
if !s.Filesystem.HasSpaceAvailable() {
|
||||
return errors.New("cannot start server, not enough disk space available")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user