#18201: kamailio4 init Script is broken
-------------------------------------+-----------------------------------
 Reporter:  info@…                   |      Owner:  developers
     Type:  defect                   |     Status:  new
 Priority:  high                     |  Milestone:
Component:  packages                 |    Version:  Barrier Breaker 14.07
 Keywords:  kamailio kamailio4 init  |
-------------------------------------+-----------------------------------
 /etc/init.d/kamailio in Package kamailio4 does not work.

 The PID file created by start-stop-daemon writes the pid of the initial
 process, but this is terminated after startup and the correct number of
 the Kamailio pid is higher.

 Reproducable by /etc/init.d/kamailio start ; /etc/init.d/kamailio stop
 Kamailio is not stopped

 Kamailio is providing -P to write the pidfile itself. Suggested change is:

 start-stop-daemon -S -x $BIN_FILE -b -- -P $PID_FILE

--
Ticket URL: <https://dev.openwrt.org/ticket/18201>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to