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@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/