Dedicated private temporary directory cleanup policy

As per this documentation: https://www.elastic.co/guide/en/elasticsearch/reference/6.8/es-tmpdir.html, we should configure a dedicated temp directory when running Elasticsearch on Linux using the tar.gz distribution so that the private temp directory is not subject to system's automatic cleanup. In that case, do we have to do the cleaning up ourselves? Or will Elasticsearch handle this upon startup?