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

Victor Seva linuxmaniac at torreviejawireless.org
Tue Jun 30 11:50:05 CEST 2015


On 06/29/2015 10:44 PM, Carsten Bock 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.

It's quite fine. Go ahead

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150630/496d458a/attachment.sig>


More information about the sr-dev mailing list