aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/resources/nginx/start.sh
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2022-12-21 08:59:16 +0100
committerFilip Tehlar <ftehlar@cisco.com>2023-01-09 11:39:06 +0100
commitc204c87c186993704927beffa4d5b1cafaf9a193 (patch)
treeeeb2e5e7a8baad5252df7c8e02c488a2b88432bc /extras/hs-test/resources/nginx/start.sh
parent227660b9969410f29d6b3d14eba16be5f57fbffe (diff)
hs-test: add nginx test
Type: test Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Idd5352f254df0d1f36c1270e73440c9287247b81
Diffstat (limited to 'extras/hs-test/resources/nginx/start.sh')
-rwxr-xr-xextras/hs-test/resources/nginx/start.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/hs-test/resources/nginx/start.sh b/extras/hs-test/resources/nginx/start.sh
new file mode 100755
index 00000000000..29e49021d9a
--- /dev/null
+++ b/extras/hs-test/resources/nginx/start.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+LDP_PATH=/usr/lib/libvcl_ldpreload.so
+VCL_CFG=/vcl.conf
+LD_PRELOAD=$LDP_PATH VCL_CONFIG=$VCL_CFG nginx -c /nginx.conf
+tail -f /dev/null