summaryrefslogtreecommitdiff
path: root/src/conf_mode/vrrp.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/vrrp.py')
-rwxr-xr-xsrc/conf_mode/vrrp.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/conf_mode/vrrp.py b/src/conf_mode/vrrp.py
index 55c4cc67a..71f3ddb84 100755
--- a/src/conf_mode/vrrp.py
+++ b/src/conf_mode/vrrp.py
@@ -245,19 +245,14 @@ def apply(data):
print("Unable to rename the file with keepalived config for FIFO pipe: {}".format(err))
if not VRRP.is_running():
- print("Starting the VRRP process")
ret = call("systemctl restart keepalived.service")
else:
- print("Reloading the VRRP process")
ret = call("systemctl reload keepalived.service")
if ret != 0:
raise ConfigError("keepalived failed to start")
else:
- # VRRP is removed in the commit
- print("Stopping the VRRP process")
call("systemctl stop keepalived.service")
- os.unlink(VRRP.location['daemon'])
return None