systemctl enable
# tell systemd to start service at boot
systemctl edit kubelet.service
# or vi /etc/systemd/system/kubelet.service
systemctl daemon-reload
systemctl restart kubelet.service
systemctl status kubelet.service
If you change a systemd service file, systemctl daemon-reload
. If the service was not started (eg. kubelet) systemctl enable kubelet; systemctl start kubelet
systemct
systemctl list-units
systemctl list-units -at service
systemctl list-units -t service --state running
systemctl list-unit-files -at service
systemctl list-units --all --state=inactive
systemctl list-unit-files
journalctl -b
journalctl -k
systemctl status nginx.service
journalctl -b -u nginx.service
systemctl cat nginx.service
systemctl list-dependencies nginx.service
systemctl show nginx.service
sudo systemctl reload-or-restart nginx.service
systemctl is-active | is-enabled | is-failed nginx.service
systemctl
to figure out what isn't running
systemctl enable <service>
systemctl start <whatever_isnt_working>