diff --git a/spec/jdbc_spec_helper.rb b/spec/jdbc_spec_helper.rb index 7ce2e6e..edafcb3 100644 --- a/spec/jdbc_spec_helper.rb +++ b/spec/jdbc_spec_helper.rb @@ -7,7 +7,7 @@ require 'securerandom' RSpec.configure do |c| def start_service(name) - cmd = "sudo /etc/init.d/#{name}* stop" + cmd = "sudo /etc/init.d/#{name}* start" `which systemctl` if $?.success?