diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-12-18 14:50:36 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-12-18 14:50:36 +0100 |
commit | af782d54117a5512ec6135068d1f8c78eb5db2f9 (patch) | |
tree | 19b09f03746b4f7fa6cfb7176e01be7576e28220 /roles/acmetool/base/templates/systemd-override.conf.j2 | |
parent | sk-cloudia: upgrade netxtcloud (diff) |
minor changes to acmetool role
Diffstat (limited to 'roles/acmetool/base/templates/systemd-override.conf.j2')
-rw-r--r-- | roles/acmetool/base/templates/systemd-override.conf.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/acmetool/base/templates/systemd-override.conf.j2 b/roles/acmetool/base/templates/systemd-override.conf.j2 index aec6f034..dc62cb05 100644 --- a/roles/acmetool/base/templates/systemd-override.conf.j2 +++ b/roles/acmetool/base/templates/systemd-override.conf.j2 @@ -1,3 +1,12 @@ +{% 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 }} |