From 6174aa5df3458f259e0f0d3094ff9491b07c3767 Mon Sep 17 00:00:00 2001 From: Manuel Montecelo Date: Tue, 24 Apr 2018 18:08:21 +0200 Subject: [PATCH] TT#36053 Stop sems* with -KILL Otherwise it refuses to stop, until it reaches the timeout. Confirmed that it's OK to kill in this way, and waiting for implementation changes so this is not necessary. Change-Id: I34fc0b017b17779e8a15e031bf78960bbca2ada7 --- debian/ngcp-sems.service | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/ngcp-sems.service b/debian/ngcp-sems.service index 5eca691a..be00d76a 100644 --- a/debian/ngcp-sems.service +++ b/debian/ngcp-sems.service @@ -18,6 +18,7 @@ PassEnvironment=LD_LIBRARY_PATH PIDFile=/run/ngcp-sems/ngcp-sems.pid Restart=always ExecStart=/usr/sbin/ngcp-sems -E -u sems -g sems -P /run/ngcp-sems/ngcp-sems.pid -f /etc/ngcp-sems/sems.conf +ExecStop=/bin/kill -KILL $MAINPID TimeoutStopSec=10 LimitNOFILE=100000