5

Managing Services in Linux

In this chapter, we’re going to explain services (programs running in the background as daemons) in more depth. We’re going to explain init scripts and systemd units. We are also going to cover Alpine Linux rc commands that manage services.

The chapter covers the following topics:

  • Understanding Linux services in detail
  • A few words about Upstart, an alternative

Technical requirements

For this chapter, you will need a Linux system at hand where you can execute privileged commands, either using sudo or jumping straight to the root account (although we particularly recommend the first one). You’ll also need a Linux text editor of your choice that will produce pure text files. If you are going to edit on a Windows system, ...

Get The Linux DevOps Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.