reactivated 0.40.2 → 0.41.0-a2452

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactivated",
3
- "version": "0.40.2",
3
+ "version": "0.41.0-a2452",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,6 +33,13 @@ fi
33
33
 
34
34
  if [ ! -d "$POSTGRESQL_DATA" ]; then
35
35
  initdb "$POSTGRESQL_DATA"
36
+
37
+ if [ -f "$EXTERNAL_PID" ]; then
38
+ pid_to_kill=$(cat "$EXTERNAL_PID")
39
+ kill -9 "$pid_to_kill" &>/dev/null || echo "No PostgresSQL process to kill"
40
+ fi
41
+
42
+ rm -rf "$TMP_ENV"
36
43
  NEED_DATABASE=true
37
44
  fi
38
45