From 02bfe63a6acacd7585142ab22bf45fea385760b1 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Tue, 16 May 2023 16:54:44 -0400 Subject: [PATCH] 2023-05-15 Fred Gleason * Added a usage note to 'apis/cdn/scripts/akamai_purge.cdn'. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ apis/cdn/scripts/akamai_purge.cdn | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 59598910c..49c03b70d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24103,3 +24103,5 @@ 2023-05-15 Fred Gleason * Remove the seconds field from the 'Air Date/Time' and 'Item Expires' values on the 'Editing Item' dialog in rdcastmanager(1). +2023-05-15 Fred Gleason + * Added a usage note to 'apis/cdn/scripts/akamai_purge.cdn'. diff --git a/apis/cdn/scripts/akamai_purge.cdn b/apis/cdn/scripts/akamai_purge.cdn index fb4e77166..703ce8577 100755 --- a/apis/cdn/scripts/akamai_purge.cdn +++ b/apis/cdn/scripts/akamai_purge.cdn @@ -21,6 +21,19 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # +# +# Usage: akamai_purge.cdn +# +# N.B. - For this to work, you must provision an Akamai EdgeGrid access +# token with read/write access to Akamai's CCU APIs and place it +# at '/usr/share/rivendell/keys/edgegrid.conf'. The token file should +# be owned by the 'rivendell' user and group and have permission bits +# set to 0600. +# +# For additional information, see: +# https://techdocs.akamai.com/purge-cache/reference/api-get-started +# + TARGET_URL=$1 _url=$TARGET_URL