Comment 4 for bug 799754

Here's what the patch looks like (not really tested, I don't know if the "script" token in upstart support shell variables, so you might want to adjust that).