in reply to Re^4: Address Bind issue reincarnation
in thread Address Bind issue reincarnation

I am thinking now to make a script in /etc/init.d/ and define a run level for it.

Sounds like a good plan :)   (in case you don't want to use daemontools for some reason, that is)

See runlevel if you need ideas on which one to choose.

Replies are listed 'Best First'.
Re^6: Address Bind issue reincarnation
by sajanagr (Acolyte) on Jul 19, 2010 at 11:21 UTC
    Hi almut,

    I wanted to have a proper control of my server code to stop and start the server daemon. Using daemontools, I came to know that I can keep my command in rc.local, but that is no better control of the daemon as per my understanding.

    I made a script in init.d to start, stop, restart and to check the status of my daemon.

    It would had been great if I could had used xinetd, but this is a lightweighted code anywayz.

    thanks for the support

      Ummm, start reading the daemontools documentation. You may also want to read a more "human readable" intro to daemontools.

      daemontools and rc.local are VERY different. The only thing they have in common is that you usually use a shell script to start your daemon.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)