2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Have SuSE path also not be bothered by inability to restart web service

This commit is contained in:
Jarrod Johnson 2023-01-18 08:50:30 -05:00
parent 1f23750356
commit 01f939b871

View File

@ -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')