diff --git a/container/dnsmasq.conf b/container/dnsmasq.conf index c0e4966..6536dec 100644 --- a/container/dnsmasq.conf +++ b/container/dnsmasq.conf @@ -2,6 +2,7 @@ # container related configuration keep-in-foreground +log-facility=- cache-size=4000 # DNS diff --git a/imageroot/dnsmasq.service b/imageroot/dnsmasq.service index c5646a6..08f19a1 100644 --- a/imageroot/dnsmasq.service +++ b/imageroot/dnsmasq.service @@ -8,7 +8,7 @@ RequiresMountsFor=%t/containers [Service] Environment=PODMAN_SYSTEMD_UNIT=%n EnvironmentFile=/var/lib/nethserver/%N/state/environment -Restart=on-failure +Restart=always TimeoutStopSec=70 ExecStartPre=/bin/rm \ -f %t/%n.ctr-id @@ -21,7 +21,6 @@ ExecStart=/usr/bin/podman run \ --sdnotify=conmon \ --detach \ --replace --name=%N \ - --volume=/dev/log:/dev/log \ --network=host \ --cap-add=NET_ADMIN,NET_RAW \ --volume=/var/lib/nethserver/%N/state/dnsmasq.d:/etc/dnsmasq.d:Z \