diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-03 06:34:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-05-03 06:34:49 +0000 |
commit | 119c3b8fbaf9ea55abedcd39c0bf24b2c92b7555 (patch) | |
tree | 56d9d7b4955c9bcc79b80e72c4e8f2887e4d6771 /main/ucarp/ucarp.confd | |
parent | 4a6f7e78fa74293fc8059299bd1114b352b0ca51 (diff) | |
download | aports-119c3b8fbaf9ea55abedcd39c0bf24b2c92b7555.tar.bz2 aports-119c3b8fbaf9ea55abedcd39c0bf24b2c92b7555.tar.xz |
main/ucarp: sync initscript with gentoo
Diffstat (limited to 'main/ucarp/ucarp.confd')
-rw-r--r-- | main/ucarp/ucarp.confd | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/main/ucarp/ucarp.confd b/main/ucarp/ucarp.confd index 824358b430..5ffec9fcd0 100644 --- a/main/ucarp/ucarp.confd +++ b/main/ucarp/ucarp.confd @@ -1,13 +1,30 @@ -# Things you can set here -# REALIP - if not set, will be first addr on iface -# VHID - Virtual Server ID -# VIP - The Virtual IP -# PASSWORD - The password for the carp announcements -# EXTRA_ARGS - extra arguments - -REALIP= -VHID=2 -VIP=127.0.0.1 -PASSWORD=SecretPassword -#EXTRA_ARGS="--neutral --advbase=3" +# /etc/conf.d/ucarp: config file for /etc/init.d/ucarp +# The network interface to bind to, for example 'eth0' +UCARP_INTERFACE= + +# The persistent source address, (real IP), associated with this interface. +UCARP_SOURCEADDRESS= + +# The IP address of the virtual server. +UCARP_VIRTUALADDRESS= + +# The prefix length of the virtual server IP address +# For example 24 for a netmask of 255.255.255.0 +UCARP_VIRTUALPREFIX= + +# The id of the virtual server [1-255]. +UCARP_VHID=123 + +# File to read the shared password from. +UCARP_PASSFILE=/etc/ucarp/ucarp.pass + +# Specifies the command to run after ucarp has successfully become master. +UCARP_UPSCRIPT=/etc/ucarp/vip-up-default.sh + +# Specifies the command that is run after ucarp has transitioned to the backup +# state. +UCARP_DOWNSCRIPT=/etc/ucarp/vip-down-default.sh + +# Additional ucarp options to pass +UCARP_OPTS="--shutdown" |