Restore but fix test for read perms of PID file in init script.