// 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


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

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

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

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
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
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.