From 01f939b8716f3c84250d012541e1e2fb697ef6b7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 18 Jan 2023 08:50:30 -0500 Subject: [PATCH] Have SuSE path also not be bothered by inability to restart web service --- confluent_server/bin/osdeploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/bin/osdeploy b/confluent_server/bin/osdeploy index cedb6a9c..052a5c3a 100644 --- a/confluent_server/bin/osdeploy +++ b/confluent_server/bin/osdeploy @@ -291,7 +291,7 @@ def initialize(cmdset): try: subprocess.check_call(['systemctl', 'try-restart', 'apache2']) print('HTTP server has been restarted if it was running') - except subprocess.CalledProcessError: + except Exception: emprint('New HTTPS certificates generated, restart the web server manually') else: emprint('New HTTPS certificates generated, restart the web server manually')