parent
48eae1ee36
commit
178173b628
@ -0,0 +1,19 @@
|
||||
install:
|
||||
cp hetzner-ddns.py /usr/local/bin
|
||||
cp etc/hetzner-ddns.conf.example /etc
|
||||
cp etc/systemd/hetzner-ddns.service /etc/systemd/system/
|
||||
|
||||
uninstall:
|
||||
rm /usr/local/bin/hetzner-ddns.py
|
||||
rm /etc/hetzner-ddns.conf.example
|
||||
rm /etc/systemd/system/hetzner-ddns.service
|
||||
|
||||
enable:
|
||||
systemctl enable hetzner-ddns
|
||||
|
||||
disable:
|
||||
systemctl disable hetzner-ddns
|
||||
|
||||
start:
|
||||
systemctl start hetzner-ddns
|
||||
|
@ -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
|
Loading…
Reference in new issue