summaryrefslogtreecommitdiff
path: root/data/templates/dns-dynamic/override.conf.j2
blob: 4a6851cef48d62d218d90b1fa76eb075f581b797 (plain)
1
2
3
4
5
6
7
8
9
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={{ vrf_command }}/usr/bin/ddclient -file {{ config_file }}