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

CC BY-SA 4.0
2021-11-18T17:42:54.817Z
2021-11-18T17:42:54.817Z
Kristian Kanchev
<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>

CC BY-SA 4.0
2021-11-19T21:47:04.363Z
`systemctl enable <service name>`
jayhendren
CC BY-SA 4.0
2021-11-24T09:30:10.327Z
@jayhendren Thanks for the simple and straight answer this worked!!
AV Reddy
<amazon-ec2><linux>
How can we setup the services in my EC2 instance to startup automatically on boot?
AV Reddy
# 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`  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/)


---

