Dies ist eine alte Version des Dokuments!
Durch Konfigurationsdateien ersetzt. Siehe http://0pointer.de/blog/projects/the-new-configuration-files und http://fedoraproject.org/wiki/Systemd
Die native system Konfiguration liegt in
/lib/systemd/system/*.service
, /usr/lib/systemd/system/*.service
und/etc/systemd/system/*.service
systemd ist aber auch weiterhin kompatibel zu den aus sysVinit bekannten Startskripten in
/etc/init.d/
systemctl start dienst.service
service dienst start
systemctl enable dienst.service
chkconfig dienst on
systemctl stop dienst.service
service dienst stop
systemctl disable dienst.service
chkconfig dienst off
systemctl list-units -t service
service --status-all
gleich ans Ende springen
journalctl -e
follow file mit allem und catalog
journalctl -f -a -x
alle Felder aufschlüsseln
journalctl -o verbose
seit dem letztem Boot
journalctl -b
journalctl _SYSTEMD_UNIT=ssh.service
oder
journalctl -u ssh.service
oder
journalctl /usr/sbin/sshd
/etc/systemd/journald.conf
:
SystemMaxUse=100M SystemKeepFree=1G
alle von systemd verwalteten Prozesse anzeigen:
systemd-cgls