From 8bcf2b68b999b10aa4b2ca076b61f095c01b5ef3 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Sun, 23 Apr 2023 18:12:35 -0600 Subject: [PATCH] Create teamlixo.proxy.addon.sh#! --- teamlixo.proxy.addon.sh#! | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 teamlixo.proxy.addon.sh#! diff --git a/teamlixo.proxy.addon.sh#! b/teamlixo.proxy.addon.sh#! new file mode 100644 index 0000000..bd958de --- /dev/null +++ b/teamlixo.proxy.addon.sh#! @@ -0,0 +1,9 @@ +#!/bin/ash + +set +e + +# Varnish +# Remove existing configuration +rm -v -rf $config_out/varnish/* +find varnish -type d | xargs -I '{}' mkdir --verbose -p $config_out/{} +find varnish -type f | sed -e "s@varnish/@@g" | xargs -I '{}' cp --verbose varnish/{} $config_out/varnish/{}