[sr-dev] Changes to init.d-File

Jason Penton jason.penton at gmail.com
Tue Jun 30 07:47:14 CEST 2015


+1. We are already doing that. Would be great to make it std
On 29 Jun 2015 22:45, "Carsten Bock" <carsten at ng-voice.com> wrote:

> Hi,
>
> i'd like to propose a few, simple changes to the init.d file for Debian:
> - for NAME use "basename $0", so a simple copy would result in a new $NAME
>
> - use $NAME in the following variables:
> HOMEDIR=/var/run/$NAME
> PIDFILE=$HOMEDIR/$NAME.pid
> DEFAULTS=/etc/default/$NAME
> CFGFILE=/etc/$NAME/kamailio.cfg
>
> I think those changes would help very much, in case you have multiple
> instances of Kamailio running on a single server (e.g. a Proxy-CSCF,
> Interrogating-CSCF and a Serving-CSCF).
>
> What do you think? If nobody objects, i will change the init.d files
> for Debian accordingly.
>
> Thanks,
> Carsten
>
>
> --
> Carsten Bock
> CEO (Geschäftsführer)
>
> ng-voice GmbH
> Schomburgstr. 80
> D-22767 Hamburg / Germany
>
> http://www.ng-voice.com
> mailto:carsten at ng-voice.com
>
> Office +49 40 5247593-0
> Fax +49 40 5247593-99
>
> Sitz der Gesellschaft: Hamburg
> Registergericht: Amtsgericht Hamburg, HRB 120189
> Geschäftsführer: Carsten Bock
> Ust-ID: DE279344284
>
> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> http://www.ng-voice.com/imprint/
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150630/96af9218/attachment.html>


More information about the sr-dev mailing list