diff options
author | Christian Breunig <christian@breunig.cc> | 2023-06-05 22:04:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 22:04:21 +0200 |
commit | 47cce6805562c11b75ef9d5d761881e275d1a27d (patch) | |
tree | e75bac5474b8f47cf0a37c47fa6acf78e2116e92 /data/templates/dns-dynamic/override.conf.j2 | |
parent | 3cfeddebb73e12de15d46d13c44003ede2d72c19 (diff) | |
parent | c14825f55d286d54ca3c04703ecbded1cb4c2cca (diff) | |
download | vyos-1x-47cce6805562c11b75ef9d5d761881e275d1a27d.tar.gz vyos-1x-47cce6805562c11b75ef9d5d761881e275d1a27d.zip |
Merge pull request #2005 from indrajitr/ddclient-improvement-round-2
dns: T5144: Modernize dynamic dns operation (round 2)
Diffstat (limited to 'data/templates/dns-dynamic/override.conf.j2')
-rw-r--r-- | data/templates/dns-dynamic/override.conf.j2 | 11 |
1 files changed, 11 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..8a9dfcd70 --- /dev/null +++ b/data/templates/dns-dynamic/override.conf.j2 @@ -0,0 +1,11 @@ +{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' ' if vrf is vyos_defined else '' %} +[Unit] +ConditionPathExists={{ config_file }} +After=vyos-router.service + +[Service] +PIDFile= +PIDFile={{ config_file | replace('.conf', '.pid') }} +EnvironmentFile= +ExecStart= +ExecStart=/usr/bin/ddclient -file {{ config_file }} |