Skip to content

Commit

Permalink
Release 7.1.28 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Mar 14, 2022
1 parent 5b8c2b0 commit be05343
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 7.1.28 2022-03-14 <dave at tiredofit dot ca>

### Changed
- Fix for slapd-restore with S6 Overlay 3.x


## 7.1.27 2022-02-09 <dave at tiredofit dot ca>

### Changed
Expand Down
6 changes: 3 additions & 3 deletions install/usr/local/bin/slapd-restore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ backupPath="/data/backup"
file="$backupPath/$file"

# stop slapd
s6-svc -d /var/run/s6/services/10-openldap
s6-svc -d /var/run/s6/legacy-services/10-openldap
pkill slapd

TEMP_FILE=$(mktemp)
Expand All @@ -29,8 +29,8 @@ fi
sudo -u ldap slapadd -c -F /etc/openldap/slapd.d -n $dbnum -l $TEMP_FILE

# restart slapd
s6-svc -u /var/run/s6/services/10-openldap
s6-svc -u /var/run/s6/legacy-services/10-openldap

rm $TEMP_FILE

exit 0
exit 0

0 comments on commit be05343

Please sign in to comment.