Re: creating a custom service

2005-10-31 Thread Hanspeter Roth
On Oct 30 at 14:43, John Hasler spoke: > Hanspeter Roth writes: > > So one has to do it by hand. Isn't there a convenience tool like > > `chkconfig'? > > > apt-get install sysvconfig > > or > > man update-rc.d Yes update-rc.d is it. Thanks! I had seen it somewhere but had forgotten

Re: creating a custom service

2005-10-30 Thread John Hasler
Hanspeter Roth writes: > So one has to do it by hand. Isn't there a convenience tool like > `chkconfig'? apt-get install sysvconfig or man update-rc.d -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: creating a custom service

2005-10-30 Thread Hanspeter Roth
On Oct 30 at 14:07, Mitch Wiedemann spoke: > Assuming your script is /etc/init.d/foo, you would make a symlink thusly: > > ln -s /etc/init.d/foo /etc/rc2.d/S80foo > > What's happening is that the symlinks in /etc/rc2.d/ which start with > the letter "S" followed by a number (00 - 99) are all

Re: creating a custom service

2005-10-30 Thread Mitch Wiedemann
Hanspeter Roth wrote: >Hello, > >how can one create a custom service that is executed during the boot >sequence? >I guess the first step is create a script in /etc/init.d. But how is >it then activated? > >-Hanspeter > > > > Assuming your script is /etc/init.d/foo, you would make a symlink thus