Commit a7dca5f0 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/kamailio: increase timout for stopping service

Kamailio may need more time to shut down if there are many clients
(1000+). Increase it to 10 seconds to avoid the error message:

  start-stop-daemon: 1 process refused to stop
parent 12efc717
......@@ -5,7 +5,7 @@
pkgname=kamailio
pkgver=5.2.5
pkgrel=0
pkgrel=1
# If building from a git snapshot, specify the gitcommit
# If building a proper release, leave gitcommit blank
......@@ -562,4 +562,4 @@ sha512sums="045f52f633897fdfce8afe508bf2f803f79a2b7d16be129314464c0da7a124fd64d9
bbb00a3b680d2805aebf412a7cd77d5ac16e5edb45077516635101f78782dcaa779f84a3678fdd820fa7d7f021ae89271811b2e344092a8f5b7fe6eeee4c2599 0001-mohqueue.patch
af8362201957eae6b66baf7368c9ca884024209a396d77c5c52180c9aabe13772e9c6513e59721d39503e5bb7a8c1030f5c10301ea9055bddafb7f01ee2f3076 0004-src_core_tcp_read_c.patch
100a40ec63eaf62f8ac794f1bb17e8109030413617e61a7d2f55a8c8efbe26c1f0f611e6d99548638001f1af678fb7129a98db175eb02190c85d31f60af52202 dont-force-mips-revision.patch
321b1b160434150bcde3c0ad7f47ddf259791b68d4ce74ba4c35034026421a2bc6f5e86f26f393f5fcdb523d8cd75f944709473065553ce860b0ea06b3dc2a1b kamailio.initd"
0c87bfb78481568c03e603049eb8597a90d24ae2941fc81694181b2326fa9db89fbddaaa3cf08c7bc2f5fa0e7ffac4cf4e2d010d08c4faa6cf6df98593432539 kamailio.initd"
......@@ -24,7 +24,7 @@ start() {
stop() {
ebegin "Stopping Kamailio"
start-stop-daemon --stop --quiet --pidfile $pidfile
start-stop-daemon --retry 10 --stop --quiet --pidfile $pidfile
eend $?
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment