Re: creating daemons

From: Bernd Petrovitsch
Date: Thu Feb 03 2005 - 06:59:08 EST


On Wed, 2005-02-02 at 15:24 +0530, root wrote:
> i want run my program as a daemon..its like normal
> how to do that
> service squid start

Look into /etc/init.d/squid (or wherever your distribution puts the
SysV-Init startup files) on how to write a similar script for your
daemon.
And BTW this has nothing to do with the Linux *kernel*.

Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/