From the course: Complete Guide to Navigating Linux: Working with Users, Files, and Networks

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Starting processes automatically

Starting processes automatically

- In this video, you'll learn how to start processes automatically. You need to know about systemd. Systemd is the manager of everything that happens on Linux after starting the kernel. And the items that are managed by systemd are called units and a service is just one type of unit. You can use systemctl -t help for an overview of all the unit types. And as a part of it, systemd manages the state of services. If a process needs to be running all the time with systemd, it can be started and managed as a daemon by systemd. Now there's a couple of essential commands that you should know about. Systemctl list-units will list all currently running services and systemctl status servicename shows information about a specific service. Systemctl stop service name will stop a service and systemctl start will start it and in sometimes particularly when you have changed the configuration of a surface, you need systemctl restart on the surface to allow it to reread its configuration. Systemctl…

Contents