Don't rely on a service PID file, since they no longer exist
@@ -100,11 +100,7 @@ expect {
}
}
-while { [file exists /hab/svc/redis/PID] != 1} {
- log "waiting for /hab/svc/redis/PID to be created"
- sleep 1
-}
-set redis_pid [exec cat /hab/svc/redis/PID]
+set redis_pid [exec pgrep redis]
assert { [is_alive $redis_pid] } "Redis PID isn't alive!"
set redis_parent [parent_pid $redis_pid]
