You need an init script

There are some examples in the source code. Search the list, there are
several examples.

the init script has to be copied to /etc/rc.d/init.d (fior redhat) or
into similar dir on other distros. also you need to tell your os to
start it at boot with something like #chkconfig FileName on

Regards

Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Thu, Jul 9, 2009 at 2:24 AM, FADILI Hanae<[email protected]> wrote:
> Hi,
>
> configue --enable-start-stop-daemon just allows kannel to start as a daemon
> independently from the terminal. But i'm searching if kannel can start by
> itself when the PC starts...
> I'm not good in linux, it's the first time i'm working with it so i don't
> know which script to use and how to use it...
>
> Thank you for the help:)
>
>
> Nikos Balkanas <[email protected]> a écrit :
>
>> Hi,
>>
>> That + you might try:
>>
>> configure --enable_start_stop_daemon
>>
>> BR,
>> Nikos
>>  ----- Original Message -----
>>  From: Alejandro Guerrieri
>>  To: FADILI Hanae
>>  Cc: [email protected]
>>  Sent: Wednesday, July 08, 2009 5:01 PM
>>  Subject: Re: how to start kannel as a deamon?
>>
>>
>>  You need an init script for that, it's not kannel's fault.
>>
>>
>>  There's some examples lying around, google a little bit for one  for your
>> particular linux distro.
>>
>>
>>  Regards,
>>
>>
>>  Alejandro
>>
>>
>>  On Wed, Jul 8, 2009 at 3:54 PM, FADILI Hanae  <[email protected]>
>> wrote:
>>
>>
>>    Thank you but I used it. it just started kannel as a deamon
>>  independatly from a terminal.
>>    I want to know if there is a solution that makes kannel start  directly
>> when the pc starts, without a command line?
>>
>>    Alejandro Guerrieri <[email protected]> a écrit :
>>
>>
>>
>>      --daemonize rings any bells? ;)
>>      Please read the userguide again and check that part.
>>
>>      Regards,
>>
>>      Alejandro
>>
>>      On Wed, Jul 8, 2009 at 3:31 PM, FADILI Hanae
>> <[email protected]>wrote:
>>
>>
>>        Hi,
>>
>>        I've instaled kannel (bearerbox+wapbox). It works well as a  wap
>> proxy. but
>>        i have to start it with the command lines
>>        ./usr/local/sbin/bearerbox kannel.conf
>>        .:usr/local/sbin/wapbox kannel.conf
>>
>>        I want to know if there is a solution to start kannel as a  deamon?
>> I need
>>        it o start when I start the PC? is it possible?
>>
>>        I read the user guide but i didn't really understand.
>>
>>        Regards
>>
>>        ----------------------------------------------------------------
>>        This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>    ----------------------------------------------------------------
>>    This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>

Reply via email to