summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-13 20:57:20 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-13 20:57:20 +0200
commit76e70138dc1d48fb27103db2432cb47f1bf33605 (patch)
treeb5d7099dff7fe4abe551c74a63bfa15e535da834 /src
parent25f1afc5cf50e5274486fa3b729f69e6faeb62d4 (diff)
downloadvyos-1x-76e70138dc1d48fb27103db2432cb47f1bf33605.tar.gz
vyos-1x-76e70138dc1d48fb27103db2432cb47f1bf33605.zip
op-mode: ddclient: T2185: explicitly specify systemd service
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/dynamic_dns.py4
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():