summaryrefslogtreecommitdiff
path: root/data/templates/dns-dynamic/override.conf.j2
blob: c0edd8f054b12ecc2b6d69f006e7a66d774e1473 (plain)
1
2
3
4
5
6
7
8
9
10
11
{% set vrf_command = 'ip vrf exec ' ~ vrf ~ ' ' if vrf is vyos_defined else '' %}
[Unit]
ConditionPathExists={{ config_file }}
Wants=
After=vyos-router.service

[Service]
EnvironmentFile=
ExecStart=
ExecStart={{ vrf_command }}/usr/bin/ddclient --file {{ config_file }} --foreground
Restart=always