In this video I demonstrate how to deploy a Node.js Application as a systemd service on any Linux operating system that uses systemd as its init system (which are most modern Linux distros. We will create a service file which will initialize the systemd service unit and configure it to start with the OS and restart on failure. We'll also take a look at the systemctl command line utilities and how to disable and remove a service.
Additional Resources:
https://github.com/nikelaz/deploy-nod...
Content:
0:00 What is Systemd?
1:07 Systemd Services
2:12 Example Node.js App
3:54 Service Template File
4:41 Running the Node.js App on Linux
6:22 Creating the Service Unit
12:29 Starting and Enabling the Service
15:15 Stop and Remove the Service
16:28 Conclusion
Social Media:
Email: [email protected]
Twitter: / nikelaz
LinkedIn: / nikola-lazarov
#deploy #nodejs #linux