summaryrefslogtreecommitdiff
path: root/data/templates/dns-dynamic/override.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/dns-dynamic/override.conf.j2')
-rw-r--r--data/templates/dns-dynamic/override.conf.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/data/templates/dns-dynamic/override.conf.j2 b/data/templates/dns-dynamic/override.conf.j2
new file mode 100644
index 000000000..6ca1b8a45
--- /dev/null
+++ b/data/templates/dns-dynamic/override.conf.j2
@@ -0,0 +1,10 @@
+{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' ' if vrf is vyos_defined else '' %}
+[Unit]
+ConditionPathExists={{ config_file }}
+After=vyos-router.service
+
+[Service]
+PIDFile={{ config_file | replace('.conf', '.pid') }}
+EnvironmentFile=
+ExecStart=
+ExecStart=/usr/bin/ddclient -file {{ config_file }}