Skip to content

Commit

Permalink
Merge pull request #570 from pulp/patchback/backports/3.23/91c3324539…
Browse files Browse the repository at this point in the history
…576b973b2ad918955a4dde3ff1faac/pr-502

[PR #502/91c33245 backport][3.23] Move the mkdir to the top of the api script
  • Loading branch information
mikedep333 authored Dec 21, 2023
2 parents 22677e4 + 0c8fd17 commit e7204c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES/472.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Moved the `mkdir` command to the top of `pulp-api` script.
8 changes: 4 additions & 4 deletions images/assets/pulp-api
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash -x

mkdir -p /var/lib/pulp/media \
/var/lib/pulp/assets \
/var/lib/pulp/tmp

/usr/bin/wait_on_postgres.py

# Get list of installed plugins via pip
Expand Down Expand Up @@ -27,10 +31,6 @@ if [ -n "${PULP_ADMIN_PASSWORD}" ]; then
fi
set -x

mkdir -p /var/lib/pulp/media \
/var/lib/pulp/assets \
/var/lib/pulp/tmp

# NOTE: Due to the Linux dual-stack functionality, this will listen on both IPv4
# IPv6, even though netstat may seem to indicate it is IPv6 only.
# Due to containers using network namespaces, even if the host has this disabled
Expand Down

0 comments on commit e7204c4

Please sign in to comment.