Re: daemonizing a command



On Thu, May 27, 2010 at 2:52 PM, Israel Garcia <igalvarez@xxxxxxxxx> wrote:
Hi,

I need to daemonize this command on a debian lenny?

ruby apd.rb

It's a simple app for my network.

I was thinking to use nohup ruby app.rb & at rc.local, but I want to
know if there's other ways to do it.

It's been awhile since I wrote such a script, so the details aren't at
the tip of my tongue, but the following helped me when I did. Perhaps
it will help.

http://www.debian-administration.org/article/Making_scripts_run_at_boot_time_with_Debian


--
Regards;
Israel Garcia


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/AANLkTildF701nd0CdWoEgVXJP56o3M7H3ZSzqG882vcC@xxxxxxxxxxxxxx




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/AANLkTimMnsaO83pbA4bbgPjMGeI8fl8vx7pqG1QhtO3I@xxxxxxxxxxxxxx



Relevant Pages

  • Re: how to keep the internet awak
    ... # The loopback network interface ... Just right now know what does the dhcp mean. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Problem switching to static IP address
    ... networking it reports the network is reconfigured but the network is ... subject of "unsubscribe". ... Trouble? ... DEL/POLI/UFRJ. ...
    (Debian-User)
  • Re: "Configuring network interface" slow
    ... I found the "Configuring network interface" step in the boot ... it would easily take 30 seconds to get past the network config. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: local network with twisted rj45
    ... is the network address. ... iface eth0 inet static ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: knetworkmanager on debian testing broken
    ... Jan Hlodan ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject ... Trouble? ...
    (Debian-User)