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