mirror of
https://github.com/favonia/cloudflare-ddns.git
synced 2026-02-04 06:58:38 +02:00
944 B
944 B
Community Contributions
🐡 OpenBSD
(contributed by Brandon @skarekrow)
To use:
-
Copy the shipped rc.d script into
/etc/rc.d/ -
The
rc.dscript assumes a user called_cloudflare_ddnswill be used. This is easily created by usinguseradduseradd -s /sbin/nologin -d /var/empty _cloudflare_ddns -
Create a
/etc/login.confentry for the daemon, specifying the environment variables you wish to use:cloudflare_ddns:\ :setenv=EMOJI=false,CLOUDFLARE_API_TOKEN=YOUR-CLOUDFLARE-API-TOKEN,DOMAINS=YOUR-DOMAINS:\ :tc=daemon:An important note is not to quote any of the values, as those will be literally interpreted. In this example
EMOJIis false as the emojis clutter up the logs you will find of the daemon at/var/log/daemon -
Enable the daemon with
rcctl,rcctl enable cloudflare_ddns