You would need bash or perl scripts for that "start|stop|restart" feature.

I do prefer bash though.

:)

checkout the two monitoring scripts i run at production box
note, the scripts are home made and do not have that "start|stop|restart" 
feature,
as its useless for me :")

they just make sure the kannel is running

in a view that my kannel run with db support,
my main script check.kannel.status.sh always make sure that the
database daemon is running before to start|restart kannel

regards

seik

-----Original Message-----
From: Stargazer [EMAIL PROTECTED]
Sent: 13 ?????? 2007 ?.
To: seik
Subject:Kannel as a linux service 

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



Reply via email to