Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /etc/systemd/system/cloudflare-ddns.service
- [Unit]
- Description=Zerotier DDNS Client
- Wants=network-online.target
- After=network.target
- [Service]
- Type=oneshot
- Environment=ZONE=bla.com
- Environment=HOST=zt.blah.com
- Environment=USE_DYNAMIC_HOSTNAME=true
- Environment=API=yourcoolapikey
- Environment=PROXY=false
- Environment=FORCE_CREATE=true
- Environment=MASTER_API_KEY=false
- Environment=ZEROTIER_NETWORK_ID=somenetworkid
- ExecStart=/usr/local/bin/update-zerotier-ddns.sh
- # don't use 'nobody' if your script needs to access user files
- # (if User is not set the service will run as root)
- #User=nobody
- # Useful during debugging; remove it once the service is working
- #StandardOutput=console
- StandardOutput=journal+console
- [Install]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement