(terminology) init.d script = LSB Init Script = System V Init script?

I'm having some trouble recognizing the different types of (traditional) system process management tools by name.

By "traditional" I mean before the likes of upstart, systemd, launchd etc. which I am learning as well. But still need to understand what technology/ies predates them.

LSB init script

I see scripts in the /etc/init.d/ directory with this signature:

### BEGIN INIT INFO
# Provides: scriptname
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO

which were probably copied and pasted from here:

System V Init script

Looks like the same thing to me (too much for me to paste here):

What is the relationship between this and System V Init scripts? Are they all the same thing, or is one a more modern version of the other? What's the difference in how they work?

1 Answer

This is a system V init script. The LSB header is just a comment block that sysvinit ignores, but provides the information that upstart/systemd need to figure out when they should run it.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like