init.d script handle creation of pid direectory