mirror of https://github.com/apache/cloudstack.git
Remove keepalived start up delay
This commit is contained in:
parent
d7a0841dec
commit
5ecf4e928d
|
|
@ -380,11 +380,6 @@ setup_redundant_router() {
|
|||
chmod a+x $rrouter_bin_path/*.sh
|
||||
|
||||
sed -i "s/--exec\ \$DAEMON;/--exec\ \$DAEMON\ --\ --vrrp;/g" /etc/init.d/keepalived
|
||||
grep "sleep 10;" /etc/init.d/keepalived > /dev/null
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
sed -i "s/if\ start-stop-daemon\ --start/sleep\ 10;if\ start-stop-daemon\ --start/g" /etc/init.d/keepalived
|
||||
fi
|
||||
crontab -l|grep "check_heartbeat.sh"
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Reference in New Issue