Add configureable pidfile