Using systemctl with SystemD (Linux+ Objective 1.4.1)

preview_player
Показать описание
The systemctl command is used to manage the SystemD services on your Linux machine. Once you understand the various options available, it's pretty straightforward to manage. That's what this video is designed to do!

#linux #comptia #certification
Рекомендации по теме
Комментарии
Автор

Excellent tutorial 👌
BTW, you can enable/disble and start/stop a service at the sane time by doing:
systemctl enable --now _servicename_
Or
systemctl disable --now _servicename_

DV-mlfm
Автор

May I also suggest including the "reload" command in the video (maybe next to "restart")? It works for many services and is essential in the production environment.
Reload makes a service re-read its configuration and apply changes without restarting it. In the case of Apache, it is a graceful restart when it spawns new workers with a new configuration while allowing "old" workers to finish serving requests before shutting them down.

ivanb
Автор

Love the content and the good vibes in the vids. Will be watching these all the way through. :)

bytemoose
Автор

I love the Restart that was Awesome! lol

BrianClark-qeme
Автор

Excellent as always. Didn’t know about mask and unmask or the nuances of enable.

teamvigod
Автор

THANK YOU, super helpful explanation. Still a bit confused about two things: systemctl stop vs kill command, and start vs restart. Wouldn't restart be unnecessary because you could just use start?

caitlincooper
Автор

Should show how to add a service to systemd and display all services managed by systemd.

jgc
Автор

I'm unclear as to the use case for using "mask" over just a "disable".
Anyone able to clear that up for me?

ghostingalong