Don't delete ssl key and cert if a user asked not to
This commit is contained in:
@@ -577,8 +577,10 @@ def delete_web_service
|
||||
stop_web_service
|
||||
|
||||
File.delete(@ws_pid) if web_service_pid_status == WebServicePIDStatus::INACTIVE
|
||||
File.delete(@options[:ssl_key]) if File.file?(@options[:ssl_key])
|
||||
File.delete(@options[:ssl_cert]) if File.file?(@options[:ssl_cert])
|
||||
if @options[:delete_existing_data]
|
||||
File.delete(@options[:ssl_key]) if File.file?(@options[:ssl_key])
|
||||
File.delete(@options[:ssl_cert]) if File.file?(@options[:ssl_cert])
|
||||
end
|
||||
end
|
||||
|
||||
def reinit_web_service
|
||||
|
||||
Reference in New Issue
Block a user