Because I'm using an old version of upstart I wound up writing this hacky script. May be worth refactoring.