Commit 19b3eac1 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 3ed62713
Pipeline #18627 failed with stage