Commit 9b43c579 by John Jarvis

var for logfile

parent 3c6cfd54
......@@ -44,6 +44,7 @@ aws_data_dir: "{{ COMMON_DATA_DIR }}/aws"
aws_app_dir: "{{ COMMON_APP_DIR }}/aws"
aws_var_file: "{{ aws_app_dir }}/server-vars.yml"
aws_s3_sync_script: "{{ aws_app_dir }}/send-logs-to-s3"
aws_s3_logfile: "/var/log/s3-log-sync.log"
# default path to the aws binary
aws_cmd: "/usr/local/bin/aws"
......
......@@ -10,7 +10,7 @@ if (( $EUID != 0 )); then
exit 1
fi
S3_LOGFILE="/var/log/s3-log-sync.log"
S3_LOGFILE="{{ aws_s3_logfile }}"
NOTIFY_EMAIL={{ AWS_S3_LOGS_NOTIFY_EMAIL }}
FROM_EMAIL={{ AWS_S3_LOGS_FROM_EMAIL }}
AWS_CMD="{{ aws_cmd }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment