// Tutorial Series //
How To Configure a Linux Service to Start Automatically After a Crash or Reboot
Default avatar
By Sadequl Hussain
Developer and author at DigitalOcean.
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

Try DigitalOcean for free

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

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel