Skip to content

Commit

Permalink
linux: add static graphic for systemctl list-dependencies
Browse files Browse the repository at this point in the history
On codespaces we have a container with maybe one systemd service,
so it is not that interesting to list the dependencies.
  • Loading branch information
BacLuc committed Mar 25, 2024
1 parent f17c30b commit 64420f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions topics/linux/linux_slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,21 @@ Systemd
* Abhängigkeitsbaum Anzeigen: `systemctl list-dependencies`
* Analyse: `systemd-analyze`

Systemd Abhängigkeiten Beispiel
-------

\colBegin{0.5}
![Systemd Abhängigkeiten Beispiel](images/systemd-list-dependencies.png)
\colNext{0.5}

* Ziel ist das **default.target**
* Dafür brauchen wir **multi-user.target**
* Für **multi-user.target** brauchen wir die weiteren Abhängigkeiten (**basic**,...)
* **systemd-logind.service** und **systemd-networkd.service** können parallel gestartet werden,
damit wir **multi-user.target** schneller erreichen können.

\colEnd

Systemd .service file
-------

Expand Down Expand Up @@ -669,3 +684,4 @@ Zusammenfassung
* Scripts
* Root, Package Management, journalctl
* SSH
* systemd

0 comments on commit 64420f1

Please sign in to comment.