in /etc/init.d/
first daemon
# Provides: first
# Required-Start: $remote_fs $syslog
second daemon
# Provides: second
# Required-Start: $remote_fs $syslog first
Is this in Debian the correct way to specify the dependency of the second daemon upon the first being launched before?
Best Answer
Yes. Your example is correct. Debian has documentation on this at https://wiki.debian.org/LSBInitScripts