<p dir="ltr">+1. We are already doing that. Would be great to make it std</p>
<div class="gmail_quote">On 29 Jun 2015 22:45, "Carsten Bock" <<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
i'd like to propose a few, simple changes to the init.d file for Debian:<br>
- for NAME use "basename $0", so a simple copy would result in a new $NAME<br>
<br>
- use $NAME in the following variables:<br>
HOMEDIR=/var/run/$NAME<br>
PIDFILE=$HOMEDIR/$NAME.pid<br>
DEFAULTS=/etc/default/$NAME<br>
CFGFILE=/etc/$NAME/kamailio.cfg<br>
<br>
I think those changes would help very much, in case you have multiple<br>
instances of Kamailio running on a single server (e.g. a Proxy-CSCF,<br>
Interrogating-CSCF and a Serving-CSCF).<br>
<br>
What do you think? If nobody objects, i will change the init.d files<br>
for Debian accordingly.<br>
<br>
Thanks,<br>
Carsten<br>
<br>
<br>
--<br>
Carsten Bock<br>
CEO (Geschäftsführer)<br>
<br>
ng-voice GmbH<br>
Schomburgstr. 80<br>
D-22767 Hamburg / Germany<br>
<br>
<a href="http://www.ng-voice.com" rel="noreferrer" target="_blank">http://www.ng-voice.com</a><br>
mailto:<a href="mailto:carsten@ng-voice.com">carsten@ng-voice.com</a><br>
<br>
Office <a href="tel:%2B49%2040%205247593-0" value="+494052475930">+49 40 5247593-0</a><br>
Fax <a href="tel:%2B49%2040%205247593-99" value="+4940524759399">+49 40 5247593-99</a><br>
<br>
Sitz der Gesellschaft: Hamburg<br>
Registergericht: Amtsgericht Hamburg, HRB 120189<br>
Geschäftsführer: Carsten Bock<br>
Ust-ID: DE279344284<br>
<br>
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:<br>
<a href="http://www.ng-voice.com/imprint/" rel="noreferrer" target="_blank">http://www.ng-voice.com/imprint/</a><br>
<br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div>