mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 13:00:03 +00:00
Correct typo in function call
This commit is contained in:
parent
05fb763200
commit
86e944b3a4
@ -107,10 +107,10 @@ def initialize(cmdset):
|
||||
didsomething = True
|
||||
certutil.create_certificate()
|
||||
if os.path.exists('/usr/lib/systemd/system/httpd.service'):
|
||||
subprocess.cheeck_call(['systemctl', 'try-restart', 'httpd'])
|
||||
subprocess.check_call(['systemctl', 'try-restart', 'httpd'])
|
||||
print('HTTP server has been restarted if it was running')
|
||||
elif os.path.exists('/usr/lib/systemd/system/apache2.service'):
|
||||
subprocess.cheeck_call(['systemctl', 'try-restart', 'apache2'])
|
||||
subprocess.check_call(['systemctl', 'try-restart', 'apache2'])
|
||||
print('HTTP server has been restarted if it was running')
|
||||
else:
|
||||
emprint('New HTTPS certificates generated, restart the web server manually')
|
||||
|
Loading…
Reference in New Issue
Block a user