diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-06-16 09:33:22 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-06-16 09:33:22 +0200 |
commit | 1978946312a36f4913e1e5ea7754668b1c653d09 (patch) | |
tree | 1db0d3be134efaaba2fb5c87dd805eacd334fb69 | |
parent | eab40258869631b38b4787816c84efb14fc75ad3 (diff) | |
download | vyos-1x-1978946312a36f4913e1e5ea7754668b1c653d09.tar.gz vyos-1x-1978946312a36f4913e1e5ea7754668b1c653d09.zip |
dhclient: T2393: introduce 20 seconds stop timeout - required for smoketesting on Qemu
-rw-r--r-- | src/systemd/dhclient@.service | 3 |
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 |