Explorar o código

Merge branch 'hotfix-1.0.7' into stable

ofreax %!s(int64=10) %!d(string=hai) anos
pai
achega
a8dc78c5f4
Modificáronse 8 ficheiros con 5 adicións e 2 borrados
  1. 3 0
      CHANGELOG.md
  2. 1 1
      Makefile
  3. 1 1
      image/service/slapd/container-start.sh
  4. BIN=BIN
      test/database/__db.001
  5. BIN=BIN
      test/database/__db.002
  6. BIN=BIN
      test/database/__db.003
  7. BIN=BIN
      test/database/alock
  8. BIN=BIN
      test/database/log.0000000001

+ 3 - 0
CHANGELOG.md

@@ -1,5 +1,8 @@
 # Changelog
 
+## 1.0.7
+  - Fix startup bug
+
 ## 1.0.6
   - Use light-baseimage:0.1.5
 

+ 1 - 1
Makefile

@@ -1,5 +1,5 @@
 NAME = osixia/openldap
-VERSION = 1.0.6
+VERSION = 1.0.7
 
 .PHONY: all build test tag_latest release
 

+ 1 - 1
image/service/slapd/container-start.sh

@@ -281,7 +281,7 @@ EOF
   # stop OpenLDAP
   SLAPD_PID=$(cat /run/slapd/slapd.pid)
   echo "Kill slapd, pid: $SLAPD_PID"
-  kill $SLAPD_PID
+  kill -9 $SLAPD_PID
   echo "[ok]"
 
   sleep 3

BIN=BIN
test/database/__db.001


BIN=BIN
test/database/__db.002


BIN=BIN
test/database/__db.003


BIN=BIN
test/database/alock


BIN=BIN
test/database/log.0000000001