112768e71f
start.sh create rules.json from rules.json.template. It replaces $CHECK_SEARX_SPACE_IPS by the IPs of check.searx.space. Related to https://github.com/asciimoo/filtron/issues/12
12 lines
273 B
Bash
Executable file
12 lines
273 B
Bash
Executable file
#!/bin/sh
|
|
|
|
BASE_DIR="$(dirname -- "`readlink -f -- "$0"`")"
|
|
cd -- "$BASE_DIR"
|
|
|
|
. ./util.sh
|
|
|
|
create_rules_json "check.searx.space" > rules.json
|
|
|
|
$DOCKERCOMPOSE -f $DOCKERCOMPOSEFILE down -v
|
|
$DOCKERCOMPOSE -f $DOCKERCOMPOSEFILE rm -fv
|
|
$DOCKERCOMPOSE -f $DOCKERCOMPOSEFILE up
|