lib/commands/stop.rb in nutella_framework-0.6.21 vs lib/commands/stop.rb in nutella_framework-0.7.0

- old
+ new

@@ -74,11 +74,11 @@ end end def stop_internal_broker - pid_file_path = "#{Nutella.config['broker_dir']}/bin/.pid" - kill_process_with_pid pid_file_path + cid = `docker ps --filter ancestor=matteocollina/mosca:v2.3.0 --format "{{.ID}}"` + `docker kill #{cid}` end def stop_mongo pid_file_path = "#{Nutella.config['config_dir']}.mongo_pid"