PIDfile support