summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-13 21:51:33 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-13 21:51:33 +0200
commit9389f3e1d7ee754fd654b4d6b88338754dab452f (patch)
tree0f8fbfe8477b05a5d9053ace851201078dc8c34b /src
parentdc54ab6d5183a0bb7a911753fdacd4d4effa3af4 (diff)
downloadvyos-1x-9389f3e1d7ee754fd654b4d6b88338754dab452f.tar.gz
vyos-1x-9389f3e1d7ee754fd654b4d6b88338754dab452f.zip
op-mode: ddclient: T2185: adjust cache file path
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/dynamic_dns.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/op_mode/dynamic_dns.py b/src/op_mode/dynamic_dns.py
index be148cab5..e4e5043d5 100755
--- a/src/op_mode/dynamic_dns.py
+++ b/src/op_mode/dynamic_dns.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2018 VyOS maintainers and contributors
+# Copyright (C) 2018-2020 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -23,8 +23,7 @@ import time
from vyos.config import Config
from vyos.util import call
-
-cache_file = r'/var/cache/ddclient/ddclient.cache'
+cache_file = r'/run/ddclient/ddclient.cache'
OUT_TMPL_SRC = """
{%- for entry in hosts -%}