Commit d676552a authored by Jérome Perrin's avatar Jérome Perrin

grid/utils/setRunning: detect the case where pid has been recycled

It can happen that slapos can be terminated without removing the pid
file, and another long running process using the same pid from the one
in the pid file is running, which cause slapos node to never run.

This makes setRunning a little bit clever, by ignoring the process
unless it also has `slapos` in its name.
parent c1b85665
Pipeline #18584 passed with stage
in 0 seconds