From 3e2bb49efc35039d9510ea0f9d11b5446b53c923 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 9 Dec 2022 05:14:07 -0800 Subject: automatically tokenise domain --- systemd/linode-ddns@.service | 2 +- systemd/linode-ddns@home.example.org.service.d/opts.conf | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'systemd') 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" -- cgit v1.2.3-70-g09d2