Добавлен restart: unless-stopped

This commit is contained in:
serega6531
2019-11-21 15:37:12 +03:00
parent 8f4889c9e2
commit 039856615f
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ public class PcapWorker implements PacketListener {
}
public void start() throws PcapNativeException {
System.out.println("Using interface " + device.getName());
log.info("Using interface " + device.getName());
pcap = device.openLive(65536, PcapNetworkInterface.PromiscuousMode.PROMISCUOUS, 100);
executorService.execute(() -> {