Skip to content

Commit

Permalink
Release 7.1.9 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Feb 13, 2021
1 parent 9f4edf8 commit e488b96
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 7.1.9 2021-02-13 <dave at tiredofit dot ca>

### Added
- OpenLDAP 2.4.57

### Changed
- Change /assets/custom-scripts/ location for executing post backups scripts to /assets/custom-backup-scripts/


## 7.1.8 2021-01-14 <dave at tiredofit dot ca>

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM tiredofit/alpine:3.13
LABEL maintainer="Dave Conroy <dave at tiredofit dot ca>"

ENV OPENLDAP_VERSION=2.4.56 \
ENV OPENLDAP_VERSION=2.4.57 \
SCHEMA2LDIF_VERSION=1.3 \
ZABBIX_HOSTNAME=openldap-app \
ENABLE_CRON=FALSE \
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,14 @@ __NOTE__: Please allow up to 2 minutes for the application to start for the firs

The following directories are used for configuration and can be mapped for persistent storage.

| Directory | Description |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `/var/lib/openldap` | Data Directory |
| `/etc/openldap/slapd.d` | Configuration Directory |
| `/assets/custom-scripts/` | If you'd like to execute a script during the initialization process drop it here (Useful for using this image as a base) |
| `/certs/` | Drop TLS Certificates here (or use your own path) |
| `/data/backup` | Backup Directory |
| Directory | Description |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `/var/lib/openldap` | Data Directory |
| `/etc/openldap/slapd.d` | Configuration Directory |
| `/assets/custom-scripts/` | If you'd like to execute a script during the initialization process drop it here (Useful for using this image as a base) |
| `/assets/custom-backup-scripts/` | If you'd like to execute a script after the backup process drop it here (Useful for using this image as a base) |
| `/certs/` | Drop TLS Certificates here (or use your own path) |
| `/data/backup` | Backup Directory |

### Environment Varables

Expand Down
4 changes: 2 additions & 2 deletions install/etc/services.available/20-openldap-backup/run
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ print_debug "Backup routines Initialized on $(date)"
fi

### Post Backup Custom Script Support
if [ -d /assets/custom-scripts/ ] ; then
if [ -d /assets/custom-backup-scripts/ ] ; then
print_notice "Found Custom Scripts to Execute"
for f in $(find /assets/custom-scripts/ -name \*.sh -type f); do
for f in $(find /assets/custom-backup-scripts/ -name \*.sh -type f); do
print_notice "Running Script ${f}"
## script DATE TIME BACKUP_FILENAME FILESIZE MD5_VALUE
${f} "${now_date}" "${now_time}" "${target}" "${FILESIZE}" "${MD5VALUE}"
Expand Down

0 comments on commit e488b96

Please sign in to comment.