Why do init scripts require lock files?
Updated -
When a service is started through an init script, a file is touched in the /var/lock/subsys/
directory with the same name as the init script. When the service is stopped, this file is removed. The contents of this file are unimportant for the scope of this article, as long as the filename is the same as the init script.
This file represents that a service's subsystem is loc...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.