Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
373ee353
Commit
373ee353
authored
Feb 13, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing help
parent
b969a183
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
14 deletions
+1
-14
playbooks/roles/common/templates/send-logs-to-s3.j2
+1
-14
No files found.
playbooks/roles/common/templates/send-logs-to-s3.j2
View file @
373ee353
...
...
@@ -24,16 +24,10 @@ usage() {
an s3 bucket, will send mail to {{ COMMON_S3_LOGS_NOTIFY_MAIL }}
on failures.
Usage:
$PROG
<path-to-sync> <s3-bucket-path>
Usage:
$PROG
-v add verbosity (set -x)
-n echo what will be done
-h this
<s3-path> - path to s3 bucket and folder for sync
<path-to-sync> - path on the filesystem to sync
Example:
/edx/bin/send-logs-to-s3 -v /edx/var/log/lms s3://edx-ec2-app-logs
EO
}
...
...
@@ -53,13 +47,6 @@ while getopts "vhn" opt; do
esac
done
if
[[
-z
$1
||
-z
$2
]]
;
then
echo
echo
"ERROR: You must specify an s3 url and a path"
usage
exit
1
fi
# Ensure that curl, s3cmd and mail are
# installed prior to execution
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment