// Tutorial Series //
How To Configure a Linux Service to Start Automatically After a Crash or Reboot
By
How To Configure a Linux Service to Start Automatically After a Crash or Reboot

Introduction

This series gives practical examples of and teaches the theory behind making your applications run like services. It explores the init systems of System V, Upstart, and systemd from the perspective of service startup.

Summary View
detailed View
// Tutorial //

This tutorial shows you how to configure system services to automatically restart after a crash or a server reboot. We cover the three most common init systems in this tutorial: System V, Upstart, and systemd.

// Tutorial //

In this second tutorial about starting Linux services automatically, we’ll take a step back and explain init processes in more detail. You should gain a good understanding of how they control a daemon’s start-up behavior. We’ll see how to do this from three different init systems: System V, Upstart, and systemd.

Check out all our Tutorial Series

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in our Questions & Answers section, find tutorials and tools that will help you grow as a developer and scale your project or business, and subscribe to topics of interest.

Sign up

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up