Skip to content
Snippets Groups Projects
Commit 606af252 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

community/kea: fix problem with kea service doesn't want to stop

It often happens to me that kea process got stuck when stopping the
service. This patch changes the behaviour of the start-stop-daemon
to send SIGINT to the process if it doesn't die within 5 seconds
and if it's still running after 1 second, then SIGKILL.
parent d24f40bc
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
pkgname=kea
pkgver=1.7.3
pkgrel=3
pkgrel=4
pkgdesc="DHCPv4 and DHCPv6 server from ISC"
url="http://kea.isc.org"
# armhf, armv7: limited by log4cplus
......@@ -250,4 +250,4 @@ sha512sums="17720bd5f119e5fe1cea9ab3642630757fe645c662ab8efb1af0bd301786ccb950c7
574b4aacef03c2d4a556b4ff8b152b66efd6fdc27ad09373d41c72df15f8a2cd2386e0bbe7e07f1370d9cd11e0954fc679f3d57e6b647d601cc06e0c63bc8712 use-runstatedir-for-pid-file-location.patch
062e6eb88c49aeeac5d78c37c43cda1ff753e19f833aaa1525e37f66eede819910d4849bd954f3ef8ceb1b13e747953c99e2a9a4d9755b6da8d82c4e08b2b55c put-LOCKFILE_DIR-to-runstatedir.patch
5b93d96f2cbdce327ffceef5ace19ba5327a0c7d0d61714e35a0d72912ecbbec6a1864249612b48f8db20dffc3622170c3e21b1a67297fd834f47b94db85b9d7 kea-admin-remove-builddir.patch
6603e015f6a03e6d45bad57aae0ec2d8e55dd614a609f1069366f01d8bdd6f1da4437c2cec29acce41e33cef6cdf18319a011bd5d7475db1e0fa822953d87b01 kea.initd.in"
4029a526a210cb49ca480fea728dfae5933371244df6348411081db1e8b23924cbbdde5fa745ab4c14552a95451953a18a65d7660227bc0bb1d51be708fab92f kea.initd.in"
......@@ -3,6 +3,7 @@
: ${cfgfile:="/etc/kea/@@NAME@@.conf"}
: ${logger_dest:="syslog"}
: ${command_user:="kea"}
: ${retry:="SIGTERM/5/SIGINT/1/SIGKILL/1"}
: ${wait:=300}
name="@@NAME@@"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment