diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-13 20:57:20 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-13 20:57:20 +0200 |
commit | 76e70138dc1d48fb27103db2432cb47f1bf33605 (patch) | |
tree | b5d7099dff7fe4abe551c74a63bfa15e535da834 /src/op_mode/dynamic_dns.py | |
parent | 25f1afc5cf50e5274486fa3b729f69e6faeb62d4 (diff) | |
download | vyos-1x-76e70138dc1d48fb27103db2432cb47f1bf33605.tar.gz vyos-1x-76e70138dc1d48fb27103db2432cb47f1bf33605.zip |
op-mode: ddclient: T2185: explicitly specify systemd service
Diffstat (limited to 'src/op_mode/dynamic_dns.py')
-rwxr-xr-x | src/op_mode/dynamic_dns.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op_mode/dynamic_dns.py b/src/op_mode/dynamic_dns.py index 405dd9f04..be148cab5 100755 --- a/src/op_mode/dynamic_dns.py +++ b/src/op_mode/dynamic_dns.py @@ -86,9 +86,9 @@ def show_status(): def update_ddns(): - call('systemctl stop ddclient') + call('systemctl stop ddclient.service') os.remove(cache_file) - call('systemctl start ddclient') + call('systemctl start ddclient.service') def main(): |