Systemd: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
/lib/systemd | /lib/systemd | ||
==All status== | = FAQ = | ||
==Systemd and DNS== | |||
resolvectl status | |||
== All status == | |||
systemctl status -a | systemctl status -a | ||
==syslog spam== | == syslog spam == | ||
https://psyq123.wordpress.com/2015/06/29/if-you-get-a-lot-of-logspam-from-systemd-in-your-varlogsyslog-this-might-help/ | |||
[https://psyq123.wordpress.com/2015/06/29/if-you-get-a-lot-of-logspam-from-systemd-in-your-varlogsyslog-this-might-help/ 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 | systemctl list-unit-files | ||
or | or | ||
systemctl list-units | systemctl list-units | ||
| |||
== normal interface names == | |||
net.ifnames=0 | net.ifnames=0 | ||
==Show failed services== | == Show failed services == | ||
systemctl --failed | systemctl --failed | ||
| |||
== systemd: Started Session == | |||
Change loglevel to notice in /etc/systemd/system.conf | Change loglevel to notice in /etc/systemd/system.conf | ||
systemctl daemon-reexec | systemctl daemon-reexec |
Revision as of 11:03, 16 June 2021
Documentation
- Useful systemd commands
- http://www.freedesktop.org/wiki/Software/systemd/
- https://wiki.ubuntu.com/systemd
- Creating systemd service
- https://wiki.ubuntu.com/SystemdForUpstartUsers
- How To Use Systemctl to Manage Systemd Services and Units
- How to switch from NetworkManager to systemd-networkd on Linux
- https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet
- Predictable Network Interface Names
- [https://blog.darknedgy.net/technology/2020/05/02/0/index.html#tech-critique
Locations
/etc/systemd /usr/lib/systemd/ /lib/systemd
FAQ
Systemd and DNS
resolvectl status
All status
systemctl status -a
syslog spam
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