[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: non-packaged daemons



On Sun, Aug 13, 2000 at 06:16:14AM +0930, David Purton wrote:
> 
> What is the correct way to get a non-packaged daemon (ie on I've compiled
> from source) to start on startup like the packages with an entry in
> /etc/init.d?
> 
> Can I just add a file to here that does what I want?
> 
> What about the rc.x directories?

Copy and modify /etc/init.d/skeleton to match your daemon requirements.

You'll want to add appropriate S**foo and K**foo scripts under
/etc/rc?.d  See the /etc/init.d/README file for details and further
references.

You can update rc?.d options with the /usr/sbin/update-rc.d script.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpdozrWwguUV.pgp
Description: PGP signature


Reply to: