keepalived added remove config file
This commit is contained in:
parent
fe65cfdc54
commit
9b809f6c27
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ fi
|
||||||
|
|
||||||
# 2. PATHS & HEADER
|
# 2. PATHS & HEADER
|
||||||
CONFIG_FILE="/docker/keepalived/config/keepalived.conf"
|
CONFIG_FILE="/docker/keepalived/config/keepalived.conf"
|
||||||
|
rm -f "$CONFIG_FILE"
|
||||||
mkdir -p /docker/keepalived/config /docker/keepalived/checks /docker/keepalived/tmp
|
mkdir -p /docker/keepalived/config /docker/keepalived/checks /docker/keepalived/tmp
|
||||||
cp "/docker/keepalived/keepalived_header.tpl" "$CONFIG_FILE"
|
cp "/docker/keepalived/keepalived_header.tpl" "$CONFIG_FILE"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue