Fix script name and add make exec

pull/89/head
Joel Gray 1 year ago
parent 0622667ab3
commit 30819e45e3
  1. 5
      README.md

@ -15,6 +15,9 @@ This version of the script is used with systemd. Update the paths in config belo
If you need to know how to use systemd services check out my blog here:
[Running A Service on Systemd](https://graycode.ie/blog/run-anything-as-a-service-on-linux/)
### Make the Script Executable
`chmod u+x /path/to/your/cloudflare-ddns-updater/cloudflare-dns-updater.sh`
### Make the service file
`nano /etc/systemd/system/cloudflare-ddns-updater.service`
```
@ -22,7 +25,7 @@ If you need to know how to use systemd services check out my blog here:
Description=Service to update Cloudflare servers with this servers public IP
[Service]
ExecStart=/bin/bash /path/to/your/cloudflare-ddns-updater/cloudflare-updater.sh
ExecStart=/bin/bash /path/to/your/cloudflare-ddns-updater/cloudflare-dns-updater.sh
Restart=
EnvironmentFile=/etc/environment

Loading…
Cancel
Save