-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apache2 is now in docker. using env variables to set bucket. moved te…
…mplates to template directory
- Loading branch information
Showing
13 changed files
with
61 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/var/log/apache2/*.log { | ||
daily | ||
missingok | ||
rotate 14 | ||
compress | ||
delaycompress | ||
notifempty | ||
create 640 root adm | ||
postrotate | ||
UPLOAD_CMD="s3cmd -c /opt/credentials/s3cfg --mime-type=text/plain put" NAME_PREFIX="" /opt/bin/logrotate-to-s3.sh "$@" | ||
if invoke-rc.d apache2 status > /dev/null 2>&1; then \ | ||
invoke-rc.d apache2 reload > /dev/null 2>&1; \ | ||
fi; | ||
endscript | ||
prerotate | ||
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \ | ||
run-parts /etc/logrotate.d/httpd-prerotate; \ | ||
fi; \ | ||
endscript | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.