-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating cron, logging, and base docker image setup
- Loading branch information
Showing
13 changed files
with
37 additions
and
32 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* * * * * wget webREDCAP_WEBROOT_PATHcron.php --spider >/dev/null 2>&1 | ||
* */3 * * * /usr/sbin/logrotate /etc/logrotate.conf | ||
0 * * * * /usr/sbin/logrotate /etc/logrotate.conf |
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,14 @@ | ||
# Changed to rotate all log files in the /logs-dir based on max size of 1M keeping 4 versions | ||
# This should prevent the logs from running away in the event of a lot of errors | ||
/logs-dir/*.log { | ||
su cron-www-data root | ||
rotate 4 | ||
create | ||
size 1M | ||
#minsize 10k | ||
dateext | ||
#weekly | ||
nocompress | ||
missingok | ||
notifempty | ||
} |
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
rdc/docker-web/container-config/apache2/conf-enabled/00-env.conf
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
rdc/docker-web/container-config/apache2/conf-enabled/000-apache2.conf
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,9 @@ | ||
# THESE ARE GLOBAL COMMANDS TO THE DEFAULT apache2.conf | ||
# IN MOST CASES YOU WILL CUSTOMIZE WITH THE VirtualHosts ENTIRES | ||
|
||
PassEnv SERVER_NAME | ||
#PassEnv SERVER_ADMIN | ||
#PassEnv APACHE_DOCUMENT_ROOT | ||
|
||
ErrorLog ${APACHE_LOG_DIR}/apache_server.log | ||
ServerName ${SERVER_NAME} |
4 changes: 0 additions & 4 deletions
4
rdc/docker-web/container-config/apache2/conf-enabled/site-name.conf
This file was deleted.
Oops, something went wrong.
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
2 changes: 0 additions & 2 deletions
2
rdc/docker-web/container-config/apache2/sites-available/README.md
This file was deleted.
Oops, something went wrong.
4 changes: 1 addition & 3 deletions
4
rdc/docker-web/container-config/apache2/sites-available/site.custom
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 |
---|---|---|
@@ -1,3 +1 @@ | ||
# This file is inserted into the 000-site.conf default virtual host. | ||
# If you want to customize the vhost.conf you can customize this file | ||
# and insert it with the overrides. | ||
# This is a placeholder for a conf file inserted into the default vhost |
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