Skip to content

Commit

Permalink
Move back to older way of doing this with volume mnt > bind
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenPaugh committed May 7, 2024
1 parent 9441522 commit 64ff319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_configure_plextrac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function create_volume_directories() {
debug "Ensuring directories exist for Volumes..."
if [ "$CONTAINER_RUNTIME" != "podman" ]; then
debug "`compose_client config --format=json | jq '.volumes[] | .driver_opts.device | select(.)' | xargs -r mkdir -vp`"
stat "${PLEXTRAC_HOME}/volumes/naxsi-waf/customer_curated.rules" &>/dev/null || echo '## Custom WAF Rules Below' > "${PLEXTRAC_HOME}/volumes/naxsi-waf/customer_curated.rules"
stat "${PLEXTRAC_HOME}/volumes/naxsi-waf/customer_curated.rules" &>/dev/null || mkdir -vp "${PLEXTRAC_HOME}/volumes/naxsi-waf"; echo '## Custom WAF Rules Below' > "${PLEXTRAC_HOME}/volumes/naxsi-waf/customer_curated.rules"
else
stat "${PLEXTRAC_BACKUP_PATH}/couchbase" &>/dev/null || mkdir -vp "${PLEXTRAC_BACKUP_PATH}/couchbase"
stat "${PLEXTRAC_BACKUP_PATH}/postgres" &>/dev/null || mkdir -vp "${PLEXTRAC_BACKUP_PATH}/postgres"
Expand Down

0 comments on commit 64ff319

Please sign in to comment.