From 1978946312a36f4913e1e5ea7754668b1c653d09 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 16 Jun 2022 09:33:22 +0200 Subject: dhclient: T2393: introduce 20 seconds stop timeout - required for smoketesting on Qemu --- src/systemd/dhclient@.service | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/systemd/dhclient@.service') diff --git a/src/systemd/dhclient@.service b/src/systemd/dhclient@.service index 2ced1038a..5cc7869cb 100644 --- a/src/systemd/dhclient@.service +++ b/src/systemd/dhclient@.service @@ -13,6 +13,9 @@ PIDFile=/var/lib/dhcp/dhclient_%i.pid ExecStart=/sbin/dhclient -4 $DHCLIENT_OPTS ExecStop=/sbin/dhclient -4 $DHCLIENT_OPTS -r Restart=always +TimeoutStopSec=20 +SendSIGKILL=SIGKILL +FinalKillSignal=SIGABRT [Install] WantedBy=multi-user.target -- cgit v1.2.3