Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 944 Bytes

README.markdown

File metadata and controls

24 lines (17 loc) · 944 Bytes

Community Contributions

🐡 OpenBSD

(contributed by Brandon @skarekrow)

To use:

  1. Copy the shipped rc.d script into /etc/rc.d/

  2. The rc.d script assumes a user called _cloudflare_ddns will be used. This is easily created by using useradd

    useradd -s /sbin/nologin -d /var/empty _cloudflare_ddns
  3. Create a /etc/login.conf entry 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 EMOJI is false as the emojis clutter up the logs you will find of the daemon at /var/log/daemon

  4. Enable the daemon with rcctl, rcctl enable cloudflare_ddns