]>
git.ipfire.org Git - ipfire-2.x.git/blob - src/initscripts/packages/keepalived
2 ########################################################################
3 # Begin $rc_base/init.d/keepalived
5 # Description : keepalive daemon initscript
7 ########################################################################
12 [ -r "/etc/sysconfig/keepalive" ] && .
/etc
/sysconfig
/keepalive
19 # Enable connection tracking for IPVS
20 sysctl
-w net.ipv4.vs.conntrack
=1 &>/dev
/null
22 boot_mesg
"Starting keepalive daemon..."
23 loadproc
/usr
/sbin
/keepalived
${KEEPALIVED_OPTIONS}
27 boot_mesg
"Stopping keepalive daemon..."
28 killproc
/usr
/sbin
/keepalived
32 boot_mesg
"Reloading keepalive daemon..."
33 reloadproc
/usr
/sbin
/keepalived
43 statusproc
/usr
/sbin
/keepalived
47 echo "Usage: ${0} {start|stop|reload|restart|status}"
52 # End $rc_base/init.d/keepalived