Answers: <p>There are a lot of articles online regarding this, but here is one that should be simple enough =&gt; <a href="https://timleland.com/how-to-run-a-linux-program-on-startup/" rel="nofollow noreferrer">Link</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2021-11-18T17:42:54.817Z
Answers: 2021-11-18T17:42:54.817Z
Answers: Kristian Kanchev
Body: <p>When ever I restart my EC2 instance I have to manually use the command <code>systemctl start &lt;service name &gt;</code> to start the service.</p>
  <p>Is there any option to automate this thing in the Linux platform?</p>
  
Comments: CC BY-SA 4.0
Comments: 2021-11-19T21:47:04.363Z
Comments: `systemctl enable <service name>`
Comments: jayhendren
Comments: CC BY-SA 4.0
Comments: 2021-11-24T09:30:10.327Z
Comments: @jayhendren Thanks for the simple and straight answer this worked!!
Comments: AV Reddy
Tags: <amazon-ec2><linux>
Title: How can we setup the services in my EC2 instance to startup automatically on boot?
UserDisplayName: AV Reddy
ThreadText: # How can we setup the services in my EC2 instance to startup automatically on boot?
  
  (Asked by: username_0 on 2021-11-18)
  
  When ever I restart my EC2 instance I have to manually use the command `systemctl start <service name >` to start the service.
  
  Is there any option to automate this thing in the Linux platform?
  
  **Tags:** amazon-ec2, linux
  
  > **Comments:**
  > **username_1**: `systemctl enable <service name>`  
  > **username_0**: @username_1 Thanks for the simple and straight answer this worked!!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2021-11-18. Score: 1 | Accepted answer
  
  There are a lot of articles online regarding this, but here is one that should be simple enough => [Link](https://timleland.com/how-to-run-a-linux-program-on-startup/)
  
  
  ---
  
  