Commit 0f4fd9ae 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

(cherry picked from commit a7dca5f0)
parent 18b5cab2
......@@ -5,7 +5,7 @@
pkgname=kamailio
pkgver=5.1.8
pkgrel=1
pkgrel=2
# If building from a git snapshot, specify the gitcommit
# If building a proper release, leave gitcommit blank
......@@ -539,4 +539,4 @@ sipdump() {
sha512sums="a9d93bde174834ba04909a2fe781aac34b288082f279b30d56c53fb318982026557fff0efa214f1d4604d27f717e3c77ec216b113e2c68d0639e05a730bd8769 kamailio-5.1.8.tar.gz
bbb00a3b680d2805aebf412a7cd77d5ac16e5edb45077516635101f78782dcaa779f84a3678fdd820fa7d7f021ae89271811b2e344092a8f5b7fe6eeee4c2599 0001-mohqueue.patch
af8362201957eae6b66baf7368c9ca884024209a396d77c5c52180c9aabe13772e9c6513e59721d39503e5bb7a8c1030f5c10301ea9055bddafb7f01ee2f3076 0004-src_core_tcp_read_c.patch
cd6e3b677d803cd78561ad14d9b2589fd35ad0096f48047fdcb4ddc7d9103871357efba3b350946844cb53dbb081210746421fc420c22ac845b90251168a628e kamailio.initd"
9e80fd194bc577e350345a8c5caf0aedb91d33651e14da219f9da2663f39ae713f150cbcb05dfed8473cadbef6bbde69bce100bb9d1d798822db5ed8ed706955 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