Heat the oil in a large frying pan to a medium heat.
Stir fry the onion until golden brown.
Add the chillies and stir fry for a further 2 minutes.
Add the rest of the ingredients and simmer gently for 20 minutes.
Remove from heat and allow it to cool.
Pour the contents into an air tight jar.