Heat a heavy bottomed pot over medium high heat. Add the olive oil, bacon, and onions and cook until the onion is soft, about 5 to 10 minutes. Stir in the green beans and chicken stock; season with salt and pepper. Reduce the heat to low, and cook the green beans until they are soft but not mushy, about 30 to 45 minutes. Taste and adjust seasoning.