Systemd: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 1: Line 1:


 
 


= Documentation =
= Documentation =
Line 14: Line 14:
*[https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ Predictable Network Interface Names]  
*[https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ Predictable Network Interface Names]  
*[[https://blog.darknedgy.net/technology/2020/05/02/0/index.html#tech-critique https://blog.darknedgy.net/technology/2020/05/02/0/index.html#tech-critique]  
*[[https://blog.darknedgy.net/technology/2020/05/02/0/index.html#tech-critique https://blog.darknedgy.net/technology/2020/05/02/0/index.html#tech-critique]  
*[https://mohsensy.github.io/sysadmin/2018/08/19/systemd-service-tutorial.html Systemd service tutorial]
*[https://mohsensy.github.io/sysadmin/2018/08/19/systemd-service-tutorial.html Systemd service tutorial]  


([https://www.thegeekdiary.com/how-to-boot-into-rescue-mode-or-emergency-mode-through-systemd-in-centos-rhel-7-and-8/ Single user/emergency]
([https://www.thegeekdiary.com/how-to-boot-into-rescue-mode-or-emergency-mode-through-systemd-in-centos-rhel-7-and-8/ Single user/emergency]


=Locations=
= Locations =
 
  /etc/systemd
  /etc/systemd
  /usr/lib/systemd/
  /usr/lib/systemd/
  /lib/systemd
  /lib/systemd
 
=HOWTO=
==Timers==
==Show active timers==
systemctl status *timer




Line 27: Line 35:
= FAQ =
= FAQ =


==Analyze boot processes==
== Analyze boot processes ==
 
  systemd-analyze blame
  systemd-analyze blame


 


== Systemd and DNS ==
== Systemd and DNS ==


  resolvectl status
  resolvectl status
Restart:
Restart:
  systemctl restart systemd-resolved
  systemctl restart systemd-resolved



Revision as of 09:36, 1 November 2021

 

Documentation

(Single user/emergency

Locations

/etc/systemd
/usr/lib/systemd/
/lib/systemd

 

HOWTO

Timers

Show active timers

systemctl status *timer



FAQ

Analyze boot processes

systemd-analyze blame

 

Systemd and DNS

resolvectl status

Restart:

systemctl restart systemd-resolved

All status

systemctl status -a

syslog spam

https://psyq123.wordpress.com/2015/06/29/if-you-get-a-lot-of-logspam-from-systemd-in-your-varlogsyslog-this-might-help/

list available services

systemctl list-unit-files

or

systemctl list-units

 

normal interface names

net.ifnames=0

Show failed services

systemctl --failed

 

systemd: Started Session

Change loglevel to notice in /etc/systemd/system.conf

systemctl daemon-reexec