{% if acmetool_challenge_webroot_path is defined %} [Unit] # In case the webroot path is hosted by a filesystem that is # using a systemd automount unit the ReadWritePaths= below does # prevent the unit from being loaded when the filesystem is # not yet mounted. RequiresMountsFor={{ acmetool_challenge_webroot_path }} {% endif %} [Service] {% if acmetool_http_proxy is defined %} Environment=http_proxy={{ acmetool_http_proxy }} {% endif %} {% if acmetool_https_proxy is defined %} Environment=https_proxy={{ acmetool_https_proxy }} {% endif %} {% if acmetool_challenge_webroot_path is defined %} ReadWritePaths={{ acmetool_challenge_webroot_path }} {% endif %}