Stargazer wrote:

<newbie-alert>
So far I've always launched kannel using 2 term windows, one which I do ./bearerbox kannel.conf and another doing ./smsbox kannel.conf. To stop them I use ctl-c. I now need to manage them like apache etc so I want to be able to just say "service kannel start|stop|restart", ensure they start on boot, and also just tail their logfiles when needed. How do I convert to this please? Thanks.
</newbie-alert>

daemons are started via a symlink in the corresponding /etc/rc.d directory pointing to /etc/init.d/kannel (ie.).

That init.d scruipts are not without Kannel's source package, since every distro has it's own "style" to use shell functions, variables, result interpretation etc etc etc. So the best way is to pick a /etc/init.d/<foobar> and copy it over for the usage of Kannel.

Kannel's deamons can be invoked to detach from the calling shell via otion -d, so ie:

  $ ./bearerbox -v 3 -d kannel.conf

will be enough to detach from shell and go into background.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------

Reply via email to