3 ms·
Okay. Would you mind explaining how you set up dependencies between the various services if you don't use the "LSB dependency nonsense"? What does Slackware use
by esarbe 3y ago
Okay. Would you mind explaining how you set up dependencies between the various services if you don't use the "LSB dependency nonsense"? What does Slackware use for that?
- bandrami 3y agoYou write the shell commands that start them in the order you want them started in and run that from your rc system. I stg I have no idea why people find this so hard.
- esarbe 3y agoFor me the hard part comes when you don't want these services run all the time, but only when needed. How'd you do that?
- bandrami 3y agoInetd, the software people mysteriously re-invent every decade or so
- esarbe 3y agoAnd then you don't have dependencies anymore, so you're back to square one. I don't see how this is supposed to be more comprehensible or even "simpler" than a 12 lines unit file.
- bandrami 3y agoSeveral dozen unit files whose dependencies need not be listed in the files themselves, you mean. Which is why it's a step backwards in terms of simplicity. You get the dependencies just like you do with any other socket activation. Web request starts the web server, which connects to and starts the application server, which connects to and starts the data store.
- esarbe 3y ago> Several dozen unit files whose dependencies need not be listed in the files themselves Where else would you expect to declare the dependencies other than the file which defines the service? That's where I would expect to find (and add) the dependencies. > You get the dependencies just like you do with any other socket activation. Web request starts the web server, which connects to and starts the application server, which connects to and starts the data store. Fair enough!
- bandrami 3y agoBut dependencies can also be expressed by the location of a symlink