2018-09-16 01:56:17 -06:00
|
|
|
[Unit]
|
2018-09-16 01:50:58 -06:00
|
|
|
Description=Run script to update CloudFlare DNS
|
|
|
|
After=network.target
|
|
|
|
|
2018-09-16 01:56:17 -06:00
|
|
|
[Service]
|
2018-09-16 01:50:58 -06:00
|
|
|
Type=oneshot
|
2018-09-16 07:29:24 -06:00
|
|
|
ExecStart=/usr/local/bin/cfddns.sh -f /path/to/account.details -r server.domain.tld -l /var/log/cfddns.log
|
|
|
|
ExecStart=/usr/local/bin/cfddns.sh -6 -f /path/to/account.details -r server.domain.tld -l /var/log/cfddns.log
|
2018-09-16 01:50:58 -06:00
|
|
|
|
2018-09-16 01:56:17 -06:00
|
|
|
[Install]
|
2018-09-16 01:50:58 -06:00
|
|
|
WantedBy=multi-user.target
|