CLOUDSTACK-8952 - Remove the '--vrrp' search criteria form the CsProcess constructor call

- There is no such process, which makes the CsProcess.find return false and restart keepalived all the time.
This commit is contained in:
Wilder Rodrigues 2015-10-14 11:21:53 +02:00
parent 9363be3397
commit 08b983fe02
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ class CsRedundant(object):
conntrackd_cron.add("@reboot root service conntrackd start", -1)
conntrackd_cron.commit()
proc = CsProcess(['/usr/sbin/keepalived', '--vrrp'])
proc = CsProcess(['/usr/sbin/keepalived'])
if not proc.find() or keepalived_conf.is_changed():
CsHelper.service("keepalived", "restart")