added workaround for docker and upstart