mikelieman

Systemd service file for ddns-update.sh

Mar 2nd, 2021 (edited)
104
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ddns-probe service unit is for updating DDNS if needed
  2. # By Mike Lieman
  3. #
  4.  
  5. [Unit]
  6. Description=Update Google Domains DDNS for lieman.net as needed
  7. Wants=ddns-probe.timer network-online.target
  8. After=network-online.target
  9.  
  10. [Service]
  11. Type=oneshot
  12. ExecStart=/root/bin/ddns-update.sh
  13.  
  14. [Install]
  15. WantedBy=multi-user.target
  16.  
RAW Paste Data