keepalived: update config for vrrp_script section
authorRishabh <redacted>
Mon, 20 Apr 2026 17:32:26 +0000 (23:02 +0530)
committerFlorian Eckert <redacted>
Mon, 27 Apr 2026 12:28:04 +0000 (14:28 +0200)
Update config for vrrp_script in keepalived.config.
Add option name, direction and timeout in config.
Add some docs for option weight and option direction.

Signed-off-by: Rishabh <redacted>
net/keepalived/files/keepalived.config

index db0257e5d82c61ababd8d81e6b2a0b034d22c73b..b9674043198e7d1b15fcee884a6db13ebc22c9c4 100644 (file)
@@ -161,11 +161,16 @@ config globals 'globals'
 #      option accept                   "1"
 
 #config vrrp_script
+#      option name             "vrrp_script1"
 #      option script           "<script-file>"
 #      option interval         "5"
+#  weight will increase +10 if script status is OK, otherwise -10
 #      option weight           "10"
 #      option fall             "2"
 #      option rise             "3"
+#  valid values for direction reverse|noreverse  -- reverse flips weight change
+#      option direction        "reverse"
+#      option timeout  "5"
 
 #config virtual_server
 #      option enabled                  "1"
git clone https://git.99rst.org/PROJECT