You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
694 B

  1. #!/bin/sh
  2. #
  3. # This file is interpreted as a shell script.
  4. # The first line of the script must be "#!/bin/sh" without quotes.
  5. # Lines beginning with # are comments and are not executed.
  6. #
  7. # There are three environment arguments that are passed to this script.
  8. #
  9. # $TYPE Set to INSTANCE or GROUP, depending on whether keepalived invoked the program from vrrp_instance or vrrp_sync_group.
  10. # $NAME Set to the name of the vrrp_instance or vrrp_sync_group.
  11. # $ACTION Set to the end state of the transition.
  12. # Valid values are:
  13. # $TYPE==INSTANCE: [ NOTIFY_BACKUP | NOTIFY_MASTER | NOTIFY_FAULT | NOTIFY_STOP | NOTIFY ]
  14. # $TYPE==GROUP: [ NOTIFY_BACKUP | NOTIFY_MASTER | NOTIFY_FAULT | NOTIFY ]