Quoth Tom Dillard on Wed, Jan 17, 2007 at 02:56:00PM -0800: > Thanks for the reply. I'm a little confused however. With run-levels, > if something was started in RL2 and then the system goes on up to 3, > if I drop back to 2 I would expect all the RL2 stuff to keep running, > and everything started in 3 or higher to be stopped. > > Are you saying that, since my service depends upon multi-user before > starting, that in reality it is "post" multi-user; into the > multi-user-server timeframe instead? > > boot---->single-----(Y)-->multi-user----(X)-->multi-user-server > > My service is really fitting in at point X, right? I guess what > I really want is for it to go in at point Y instead. So that would > mean either making multi-user dependent on my service, or my service > dependent on the single-user. Is that correct, and is one way perhaps > better than the other?
You are correct. You have to make multi-user depend on your service (preferably by declaring multi-user to be a dependent). Declaring single-user to be a dependency is wise, but not necessary for the behavior you seek. David