summaryrefslogtreecommitdiff
path: root/src/systemd/dhclient@.service
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-16 09:33:22 +0200
committerChristian Poessinger <christian@poessinger.com>2022-06-16 09:33:22 +0200
commit1978946312a36f4913e1e5ea7754668b1c653d09 (patch)
tree1db0d3be134efaaba2fb5c87dd805eacd334fb69 /src/systemd/dhclient@.service
parenteab40258869631b38b4787816c84efb14fc75ad3 (diff)
downloadvyos-1x-1978946312a36f4913e1e5ea7754668b1c653d09.tar.gz
vyos-1x-1978946312a36f4913e1e5ea7754668b1c653d09.zip
dhclient: T2393: introduce 20 seconds stop timeout - required for smoketesting on Qemu
Diffstat (limited to 'src/systemd/dhclient@.service')
-rw-r--r--src/systemd/dhclient@.service3
1 files changed, 3 insertions, 0 deletions
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