WAN IPv4 checker & email notifier for computers behind dynamic IP/DHCP

9 lines
234 B

  1. # Should be placed to /usr/lib/systemd/system/
  2. [Unit]
  3. Description=WAN IPv4 checker & email sender for dynamic IPv4 server environments
  4. After=network-online.target
  5. [Service]
  6. User=mail
  7. ExecStart=/usr/bin/bash /etc/ssmtp/wanchecker.sh