-
Notifications
You must be signed in to change notification settings - Fork 0
/
control
29 lines (28 loc) · 900 Bytes
/
control
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Section: misc
Priority: optional
# Homepage: <enter URL here; no default>
Standards-Version: 3.9.2
Package: cloudflare-ddns
Version: 0.0.2
Maintainer: elmatou <[email protected]>
Depends: dnsutils, curl, jq
Architecture: all
Copyright: copyright
# Changelog: changelog
Readme: README
# Links: <pair of space-separated paths; First is path symlink points at, second is filename of link>
Description: Clouflare dynamic dns strategy
Set a systemd service and timer to update Cloudflare records with local IP.
Offer IPv4 detection digging with DNS server
Files: cloudflare-ddns.conf /etc/cloudflare-ddns/
cloudflare-ddns.service /lib/systemd/system/
cloudflare-ddns.timer /lib/systemd/system/
cloudflare-ddns /usr/bin/
File: postinst
#!/bin/sh -e
deb-systemd-helper enable cloudflare-ddns.timer
exit 0
File: prerm
#!/bin/sh -e
deb-systemd-helper disable cloudflare-ddns.timer
exit 0