Publish console message on initial startup for disk sizing

This commit is contained in:
CyberKitsune 2020-08-29 19:45:47 -07:00
parent 3c662d5b07
commit f1343c1d77

View File

@ -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")
}