Skip to content

Commit

Permalink
ddclient: T5791: Keep ddclient.service in foreground
Browse files Browse the repository at this point in the history
Since the distributed ddclient.service is of type
'exec' now, avoid using process forking and let
systemd manage the process directly.
  • Loading branch information
indrajitr committed Jan 4, 2025
1 parent 9dae22e commit fd2d452
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion data/templates/dns-dynamic/ddclient.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ if{{ ipv }}={{ address }}, \
{% endmacro %}
### Autogenerated by service_dns_dynamic.py ###
daemon={{ interval }}
foreground=yes
syslog=yes
ssl=yes
pid={{ config_file | replace('.conf', '.pid') }}
cache={{ config_file | replace('.conf', '.cache') }}
{# ddclient default (web=dyndns) doesn't support ssl and results in process lockup #}
web=googledomains
Expand Down
1 change: 0 additions & 1 deletion data/templates/dns-dynamic/override.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ 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 }}

0 comments on commit fd2d452

Please sign in to comment.