Commit Graph

11 Commits

Author SHA1 Message Date
Paul FREAKN Baker a0362bacba Reading from enviroment variables with validation
This change allows one to set a environment variables prior to executing
the script. This enables end-users to avoid editing the script itself,
which in turns makes it functionally easier. This also enables end-users
to potentially just drop this script into arbitrary environments without
changing the contents (EG: Docker containers or VMs under configuration
management)
2021-07-20 11:43:06 -06:00
Paul FREAKN Baker 77613a34a4 Fixing potential globbing matching in condition
https://github.com/koalaman/shellcheck/wiki/SC2053
2021-07-20 11:28:15 -06:00
Nicholas Drone 662985dc3b Updates Logging
Instead of creating a log file. This change leverages the syslog. This allows us to not have to manually rotate logs, or worry about the log file filling up the file system. This also give us timestamps of the logging without having to create the timestamps ourselves. Messages are logged to /var/log/messages by default.
2021-07-19 16:26:13 -04:00
JP 220ccd1820
Fix Merge Issue 2021-07-19 14:52:27 -04:00
Jason K cf243aa00b
Merge branch 'main' into main 2021-07-19 20:57:52 +08:00
JP 3c2d8933cf
Fixed Typo 2021-07-19 08:18:24 -04:00
Mike Lape 5debdd0e56
Changed whitespace in function definition 2021-07-19 07:13:53 -04:00
JP 6e15f4f85f
Update cloudflare-template.sh 2021-07-19 00:59:22 -04:00
JP 7b24096857
Added token option
Added ability to use either Cloudflare Global API Key or Scoped API Key
2021-07-19 00:58:07 -04:00
Mike Lape 3a8a6dc7e9
Adding date time function for logs 2021-07-18 20:49:53 -04:00
Jason Koh 531637c0ac
Add files via upload 2020-11-09 20:54:09 +08:00