Thread View: news.software.nntp
2 messages
2 total messages
Started by Mark W Modrall
Fri, 27 Jul 2001 22:33
nntp server admin question
Author: Mark W Modrall
Date: Fri, 27 Jul 2001 22:33
Date: Fri, 27 Jul 2001 22:33
25 lines
1599 bytes
1599 bytes
okay, this may seem pretty basic, but now that i've got inn built and installed, how does one hook it into the init.d system to be started and stopped properly? i looked at the sample script in contrib, and it seemed pretty basic, so i updated the old innd script that came out of the redhat distribution to work better with 2.3.0... but now i'm stuck with the question of how to set up the sym links to get it run in the right contexts... The red hat distribution just has the K links in all of the rcn.d directories to kill it, but no S links anywhere... is everything in init.d called with start to begin with? if so, why would you necessaryily want to kill it going between states? and why wouldn't there be any S entries in the new states to re- start it? which states would be good to put S links in? i'm pretty new at this, so i would appreciate the advice thanks -mark
Re: nntp server admin question
Author: Russ Allbery
Date: Sat, 28 Jul 2001 09:42
Date: Sat, 28 Jul 2001 09:42
36 lines
2392 bytes
2392 bytes
Mark W Modrall <modrall@world.std.com> writes:
> but now i'm stuck with the question of how to set up the sym links to
> get it run in the right contexts... The red hat distribution just has
> the K links in all of the rcn.d directories to kill it, but no S links
> anywhere...
That's because Red Hat expects you to use chkconfig to turn it on.
> is everything in init.d called with start to begin with? if so, why
> would you necessaryily want to kill it going between states?
Because the init.d system is trying to ensure that a particular set of
system processes and only those processes are running at any given run
level. This is a logical thing to want to do with run levels, but the
init.d system is really horrid at it. I'm hoping that the new BSD run
level system will be better at this; personally, I've largely given up on
init.d on many of my servers and now use djb's daemontools with svscan
instead.
> and why wouldn't there be any S entries in the new states to restart it?
Becase on a Red Hat system, those are added by chkconfig when you turn the
service on.
> which states would be good to put S links in?
I generally put it around rc3.d/S01inn. It depends on what you want your
run levels to mean.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads