slapos.cookbook: Check if pid file is not empty
If pidfile is empty, the pgrep will fail forever until the pidfile is removed, so check if it exist and it is not empty.
Showing
If pidfile is empty, the pgrep will fail forever until the pidfile is removed, so check if it exist and it is not empty.
mentioned in commit iv/slapos@81bbbcea
·mentioned in commit iv/slapos@81bbbcea