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 INFOwhich 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