Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
Hi, Can anyone point me in the direction of a script that can start/stop/restart bearerbox/smsbox/sqlbox? Regards, Michael

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
On Sat, 2013-01-12 at 07:04, michael osakede wrote: Can anyone point me in the direction of a script that can start/stop/restart bearerbox/smsbox/sqlbox? Look in the utils directory of the source archive/file. -- Kind regards, Milan --

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
: Saturday, January 12, 2013 4:11 PM Subject: Re: Kannel Start/Stop Restart Script On Sat, 2013-01-12 at 07:04, michael osakede wrote: Can anyone point me in the direction of a script that can start/stop/restart bearerbox/smsbox/sqlbox? Look in the utils directory of the source archive/file

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Nicolas de Bari Embriz Garcia Rojas
Hi, I like to use daemontools, for example, the run file for bearerbox could contain something like -- #!/bin/sh exec /usr/local/sbin/bearerbox -v 1 -p /var/run/kannel/bearerbox.pid /usr/home/LAB/kannel/conf/kannel.conf -- regards On Sat, Jan 12, 2013 at 3:04 PM, michael osakede

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread spameden
check /etc/init.d/kannel from debian kannel package 2013/1/12 Nicolas de Bari Embriz Garcia Rojas nb...@backup.sh: Hi, I like to use daemontools, for example, the run file for bearerbox could contain something like -- #!/bin/sh exec /usr/local/sbin/bearerbox -v 1 -p

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
12, 2013 4:11 PM Subject: Re: Kannel Start/Stop Restart Script On Sat, 2013-01-12 at 07:04, michael osakede wrote: Can anyone point me in the direction of a script that can start/stop/restart bearerbox/smsbox/sqlbox? Look in the utils directory of the source archive/file. -- Kind

RE: Kannel Start/Stop Restart Script

2013-01-12 Thread Sarfaraz Jamal
Here is a script we use for restarting kannel: #!/bin/sh clear echo Restarting the process, please allow 15 seconds... kill -9 $(/sbin/pidof smsbox) kill -9 $(/sbin/pidof bearerbox) cd /opt/gw sleep 5 nohup ./bearerbox -v 1 bearerbox.log sleep 5 nohup ./smsbox -v 1 smsbox.log cd /root clear

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
On Sat, 2013-01-12 at 13:45, Sarfaraz Jamal wrote: Here is a script we use for restarting kannel: #!/bin/sh clear echo Restarting the process, please allow 15 seconds... kill -9 $(/sbin/pidof smsbox) kill -9 $(/sbin/pidof bearerbox) cd /opt/gw sleep 5 nohup ./bearerbox -v 1

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
From: Sarfaraz Jamal s...@reachoutwireless.com To: users@kannel.org Sent: Saturday, January 12, 2013 7:45 PM Subject: RE: Kannel Start/Stop Restart Script Here is a script we use for restarting kannel: #!/bin/sh clear echo Restarting the process, please allow 15 seconds... kill -9 $(/sbin

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Nicolas de Bari Embriz Garcia Rojas
Subject: RE: Kannel Start/Stop Restart Script Here is a script we use for restarting kannel: #!/bin/sh clear echo Restarting the process, please allow 15 seconds... kill -9 $(/sbin/pidof smsbox) kill -9 $(/sbin/pidof bearerbox) cd /opt/gw sleep 5 nohup ./bearerbox -v 1 bearerbox.log