Module: kamailio
Branch: master
Commit: 4cc60ede961554220cd265bd212407f42d5b8262
URL:
https://github.com/kamailio/kamailio/commit/4cc60ede961554220cd265bd212407f…
Author: Guillem Jover <gjover(a)sipwise.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2018-02-07T12:11:42+01:00
pkg/kamailio/deb: wait for kamailio to exit before returning on sysvinit stop action
We should not return until the service has been fully terminated,
otherwise a subsequent start might break as it can consider itself
as already running. And once the old instance stops there's nothing
left running.
This also makes it possibe to remove a sleep in the restart action.
---
Modified: pkg/kamailio/deb/buster/kamailio.init
Modified: pkg/kamailio/deb/debian/kamailio.init
Modified: pkg/kamailio/deb/jessie/kamailio.init
Modified: pkg/kamailio/deb/precise/kamailio.init
Modified: pkg/kamailio/deb/sid/kamailio.init
Modified: pkg/kamailio/deb/stretch/kamailio.init
Modified: pkg/kamailio/deb/trusty/kamailio.init
Modified: pkg/kamailio/deb/wheezy/kamailio.init
Modified: pkg/kamailio/deb/xenial/kamailio.init
---
Diff:
https://github.com/kamailio/kamailio/commit/4cc60ede961554220cd265bd212407f…
Patch:
https://github.com/kamailio/kamailio/commit/4cc60ede961554220cd265bd212407f…