How To Start Linux Service Automatically At Start Up?

In this short post, we will learn to enable to start Linux service automatically at start up when system reboot or start up. To make Linux service automatically run or start during server startup we have to enable it by using sudo command.

The easiest command to enable service is:

sudo systemctl enable <my-app.service>

Things to remember:

You can give only read access to my-app.conf file by using chmod 400 my-app.conf command.
Sharing Is Caring:
Subscribe
Notify of
0 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments