summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/linode-ddns@.service2
-rw-r--r--systemd/linode-ddns@home.example.org.service.d/opts.conf2
2 files changed, 1 insertions, 3 deletions
diff --git a/systemd/linode-ddns@.service b/systemd/linode-ddns@.service
index 35905b4..cc445cb 100644
--- a/systemd/linode-ddns@.service
+++ b/systemd/linode-ddns@.service
@@ -3,4 +3,4 @@ Description=Linode DDNS updater
[Service]
Type=oneshot
-ExecStart=linode-ddns.sh "${DOMAIN}" "${RECORD}"
+ExecStart=linode-ddns.sh %i
diff --git a/systemd/linode-ddns@home.example.org.service.d/opts.conf b/systemd/linode-ddns@home.example.org.service.d/opts.conf
index da136e7..cbd2bea 100644
--- a/systemd/linode-ddns@home.example.org.service.d/opts.conf
+++ b/systemd/linode-ddns@home.example.org.service.d/opts.conf
@@ -1,4 +1,2 @@
[Service]
Environment="LINODE_TOKEN=access_token"
-Environment="DOMAIN=example.org"
-Environment="RECORD=home"