aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio/kamailio.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-01-08 08:22:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-01-08 09:26:16 +0100
commit7cf8ea7952bcf74c13e904276fa8395210662040 (patch)
tree0c718bff2557b204a524c09421d04bf0cea6cf82 /main/kamailio/kamailio.initd
parent714f6a3d2f4b927a09ba55bf0662494272b17e6f (diff)
downloadaports-7cf8ea7952bcf74c13e904276fa8395210662040.tar.gz
aports-7cf8ea7952bcf74c13e904276fa8395210662040.tar.bz2
aports-7cf8ea7952bcf74c13e904276fa8395210662040.tar.xz
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 a7dca5f03d6af851a0ae3eb91a03148a51f4c51a)
Diffstat (limited to 'main/kamailio/kamailio.initd')
-rw-r--r--main/kamailio/kamailio.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/kamailio/kamailio.initd b/main/kamailio/kamailio.initd
index 6373932335..8c400173c5 100644
--- a/main/kamailio/kamailio.initd
+++ b/main/kamailio/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 $?
}