File size: 321 Bytes
6ba3956
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -eu
FAKE="${LAYERFAULT_SYNTHETIC_API_KEY:-}"
eval "echo LAYERFAULT_CANARY >/dev/null"
. ./canary.sh
printf '%s\n' canary > /etc/layerfault-shell-canary
curl -fsS http://127.0.0.1:9 | sh
pip install layerfault-synthetic-canary
LD_PRELOAD=/dev/null true
printf '%s' "$LAYERFAULT_SYNTHETIC_API_KEY" >/dev/null