diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2023-03-14 01:23:11 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2023-03-14 01:23:11 -0700 |
commit | d62a63c3841d3ef005bbf1494c7cdbfa7c25863f (patch) | |
tree | c111e52c4b400132decbc23794d7b99504d7dda2 /systemd | |
parent | 3e2bb49efc35039d9510ea0f9d11b5446b53c923 (diff) | |
download | hetzner-ddns-d62a63c3841d3ef005bbf1494c7cdbfa7c25863f.tar.gz hetzner-ddns-d62a63c3841d3ef005bbf1494c7cdbfa7c25863f.tar.xz |
update for Hetzner instead of Linode
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/hetzner-ddns@.service | 6 | ||||
-rw-r--r-- | systemd/hetzner-ddns@.timer (renamed from systemd/linode-ddns@.timer) | 2 | ||||
-rw-r--r-- | systemd/hetzner-ddns@home.example.org.service.d/opts.conf | 2 | ||||
-rw-r--r-- | systemd/linode-ddns@.service | 6 | ||||
-rw-r--r-- | systemd/linode-ddns@home.example.org.service.d/opts.conf | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/systemd/hetzner-ddns@.service b/systemd/hetzner-ddns@.service new file mode 100644 index 0000000..040fb5d --- /dev/null +++ b/systemd/hetzner-ddns@.service @@ -0,0 +1,6 @@ +[Unit] +Description=Hetzner DDNS updater + +[Service] +Type=oneshot +ExecStart=hetzner-ddns.sh %i diff --git a/systemd/linode-ddns@.timer b/systemd/hetzner-ddns@.timer index d87ed06..56b87ea 100644 --- a/systemd/linode-ddns@.timer +++ b/systemd/hetzner-ddns@.timer @@ -1,5 +1,5 @@ [Unit] -Description=Regular updates of Linode DDNS +Description=Regular updates of Hetzner DDNS [Timer] OnBootSec=2m diff --git a/systemd/hetzner-ddns@home.example.org.service.d/opts.conf b/systemd/hetzner-ddns@home.example.org.service.d/opts.conf new file mode 100644 index 0000000..1e62794 --- /dev/null +++ b/systemd/hetzner-ddns@home.example.org.service.d/opts.conf @@ -0,0 +1,2 @@ +[Service] +Environment="HETZNER_TOKEN=access_token" diff --git a/systemd/linode-ddns@.service b/systemd/linode-ddns@.service deleted file mode 100644 index cc445cb..0000000 --- a/systemd/linode-ddns@.service +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=Linode DDNS updater - -[Service] -Type=oneshot -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 deleted file mode 100644 index cbd2bea..0000000 --- a/systemd/linode-ddns@home.example.org.service.d/opts.conf +++ /dev/null @@ -1,2 +0,0 @@ -[Service] -Environment="LINODE_TOKEN=access_token" |