Use pids/ shared directory for pids.