changed paths in sh to be static
This commit is contained in:
parent
6a8c1b8a7a
commit
b2c0eef337
1 changed files with 4 additions and 4 deletions
|
|
@ -11,10 +11,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Define paths relative to the current folder
|
# Define paths relative to the current folder
|
||||||
CONFIG_DIR="./config"
|
CONFIG_DIR="/docker/keepalived/config"
|
||||||
CHECKS_DIR="./checks"
|
CHECKS_DIR="/docker/keepalived/checks"
|
||||||
HEADER_TPL="./keepalived_header.tpl"
|
HEADER_TPL="/docker/keepalived/keepalived_header.tpl"
|
||||||
SLOT_TPL="./keepalived_slot.tpl"
|
SLOT_TPL="/docker/keepalived/keepalived_slot.tpl"
|
||||||
CONFIG_FILE="${CONFIG_DIR}/keepalived.conf"
|
CONFIG_FILE="${CONFIG_DIR}/keepalived.conf"
|
||||||
|
|
||||||
mkdir -p "$CONFIG_DIR" "$CHECKS_DIR"
|
mkdir -p "$CONFIG_DIR" "$CHECKS_DIR"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue