mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-23 16:31:01 +00:00
Добавлен restart: unless-stopped
This commit is contained in:
parent
8f4889c9e2
commit
039856615f
@ -17,7 +17,7 @@ services:
|
||||
image: packmate-app:v1
|
||||
depends_on:
|
||||
- db
|
||||
restart: on-failure
|
||||
restart: unless-stopped
|
||||
db:
|
||||
container_name: packmate-db
|
||||
build:
|
||||
@ -29,4 +29,4 @@ services:
|
||||
PACKMATE_DB_DB: ${PACKMATE_DB_NAME}
|
||||
network_mode: "host"
|
||||
image: packmate-db:v1
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
||||
@ -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(() -> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user