Fix for upstart.