Commit Graph

20 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
Jason K 18164abc73
Merge pull request #4 from ndrone/updateLogs
Updates Logging
2021-07-20 04:39:38 +08: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
Jason K a88aa3a52a
Merge pull request #3 from SlimJim716/main
Fix Merge Issue
2021-07-20 02:58:23 +08:00
JP 220ccd1820
Fix Merge Issue 2021-07-19 14:52:27 -04:00
Jason K c191ccf717
Merge pull request #2 from SlimJim716/main
Ability to use Scoped API Token rather than Global API Key
2021-07-19 20:58:03 +08: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
Jason K f639d9bcb2
Update README.md 2021-07-19 19:55:48 +08:00
Jason K f48fe12fb9
Update README.md 2021-07-19 19:45:43 +08:00
Jason K 231dd2cb0b
Merge pull request #1 from bioinformike/main
Adding date time function for logs
2021-07-19 19:37:12 +08: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 77d964f11a
Update README.md 2020-11-10 13:07:09 +08:00
Jason Koh 531637c0ac
Add files via upload 2020-11-09 20:54:09 +08:00
Jason Koh 20e461cffe
Update README.md 2020-11-09 20:53:17 +08:00
Jason Koh e2d96fb837
Initial commit 2020-11-09 20:49:48 +08:00