QuestionQ11

Essential System Services

With these two symbolic links in a System V init configuration:

  • /etc/rc1.d/K01apache2
  • /etc/rc2.d/S02apache2

When are the scripts referenced by these links executed?

Choose two
Explanation

System V init processes the sequencing directory for the runlevel being entered. Links prefixed with S start the service, while links prefixed with K stop it. Therefore, S02apache2 is executed when runlevel 2 is entered, and K01apache2 is executed when runlevel 1 is entered.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!