From c0413e045d6ed09bf0c99e1b9d28e83f25b9bc06 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 6 Nov 2019 14:17:52 +0500 Subject: [PATCH] bug fix: upgrade: stop ssh server --- plogical/upgrade.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 7ba931315..55235357b 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1925,6 +1925,9 @@ failovermethod=priority # Upgrade.stdOut("Upgrades are currently disabled") # return 0 + command = 'systemctl stop cpssh' + Upgrade.executioner(command, 'fix csf if there', 0) + postfixPath = '/home/cyberpanel/postfix' pdns = '/home/cyberpanel/pdns' pureftpd = '/home/cyberpanel/ftp' @@ -2013,6 +2016,8 @@ failovermethod=priority command = 'csf -uf' Upgrade.executioner(command, 'fix csf if there', 0) + command = 'systemctl start cpssh' + Upgrade.executioner(command, 'fix csf if there', 0) Upgrade.stdOut("Upgrade Completed.")