Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Nicolas de Bari Embriz Garcia Rojas
al > 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/pid

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
: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/pidof smsbox) kill -9 $(/sbin/pidof bearerbox) cd /opt/gw sleep 5 nohup ./bearerbox -v 1 > bearerbox.

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

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 clea

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread Milan P. Stanic
el.org > Sent: 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?

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 : > 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.p

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

Re: Kannel Start/Stop Restart Script

2013-01-12 Thread michael osakede
, 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 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 -- Arvant

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