diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-12-09 05:14:07 -0800 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-12-09 05:14:07 -0800 |
commit | 3e2bb49efc35039d9510ea0f9d11b5446b53c923 (patch) | |
tree | 8c85616965dc85281d635fea21d43c2b66f4be70 /systemd | |
parent | 7d5817dfcd5f93e56f770353059ba845314f9646 (diff) | |
download | linode-ddns-master.tar.gz linode-ddns-master.tar.xz |
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/linode-ddns@.service | 2 | ||||
-rw-r--r-- | systemd/linode-ddns@home.example.org.service.d/opts.conf | 2 |
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" |