Check for .ready file in ws directory
parent
47df72777b
commit
c3d283c243
|
@ -89,7 +89,7 @@ func printDbDetails() {
|
|||
|
||||
// IsSystemReady : Checks hability of the service to execute commands (Only after "edgebox --build" is ran at least once via SSH, or if built for distribution)
|
||||
func isSystemReady() bool {
|
||||
_, err := os.Stat("/home/system/components/ws")
|
||||
_, err := os.Stat("/home/system/components/ws/.ready")
|
||||
return !os.IsNotExist(err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue