Skip to content

Commit

Permalink
use venv path for awscli
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-Eardley committed Dec 20, 2024
1 parent 53aa4f8 commit dd4642c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/logrotate/production/doaj-nginx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
lastaction
# note: for this to work via cron, you must symlink the ~/.aws directory to /root/.aws
HOSTNAME=`hostname`
aws --profile doaj-nginx-logs s3 sync /var/log/nginx/ s3://doaj-nginx-logs/$HOSTNAME/ --exclude "*" --include "doaj.*.gz"
/home/cloo/doaj/venv/bin/aws --profile doaj-nginx-logs s3 sync /var/log/nginx/ s3://doaj-nginx-logs/$HOSTNAME/ --exclude "*" --include "doaj.*.gz"
endscript
}

0 comments on commit dd4642c

Please sign in to comment.