Make tasks compatible with upstart