Add systemd scripts and instructions
This commit is contained in:
3
etc/hetzner-ddns.conf.example
Normal file
3
etc/hetzner-ddns.conf.example
Normal file
@@ -0,0 +1,3 @@
|
||||
[example.com]
|
||||
token=ExAMpLEzLqUTQGBfzMQmxUWXkPL
|
||||
disable-ipv4=True
|
||||
11
etc/systemd/hetzner-ddns.service
Normal file
11
etc/systemd/hetzner-ddns.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Hetzner Dynamic DNS Updater
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/hetzner-ddns.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user