Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:systemd [2020/04/24 22:09] – [Systemctl] tmadelinux:systemd [2024/01/23 23:21] tmade
Line 1: Line 1:
 ===== Systemctl ===== ===== Systemctl =====
 +
 +==== Commands ====
  
   systemctl disable service                                    #Disable service from autostart e.g. "systemctl disable dhcpcd.service"   systemctl disable service                                    #Disable service from autostart e.g. "systemctl disable dhcpcd.service"
Line 20: Line 22:
   journalctl   journalctl
   journalctl -xe   journalctl -xe
-  journalctl -u sshd -f                                        # "-f" -> follow such als "tail -f file"+  journalctl -u sshd -f                                        # "-f" -> follow such as "tail -f file"
   journalctl -u kubelet.service   journalctl -u kubelet.service
   systemctl list-units --state=failed   systemctl list-units --state=failed
Line 51: Line 53:
   ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target    ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target 
  
-===== Service Units =====+==== Service Units ====
  
 Service units are located on SLES12 in: Service units are located on SLES12 in:
Line 222: Line 224:
 to service unit! to service unit!
  
-===Targets===+====systemd targets====
  
   multi-user.target                  #multiuser + network   multi-user.target                  #multiuser + network
linux/systemd.txt · Last modified: 2024/01/24 00:25 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki