Adding a application to run as a daemons

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: George Toft
Dátum:  
Tárgy: Adding a application to run as a daemons
Jon Monts wrote:
>
> I guess I should clarify this just a bit. I would like to have the
> application startup with the system and also be able stop and start the app.
> ~jon



Put the app in /etc/init.d, and put symlinks to it from
/etc/init.d/rc3.d (or whatever runlevel you want it to startup and
shutdown in).

Look at how any of your daemon programs are set up and model yours after
that.

George