add cap linked dirs so pidfile saves successfully.