Systemd

Siehe auch

Systemd User Sessions und Scopes

  • systemd-user-sessions.service erlaubt User-Sessions

  • Scope: session-419.scope ist beispielsweise die Session 419 of user alice. Ein Scope umfasst alles pro Login (= Session).

  • Slice: user-486200009.slice ist die User Slice of UID 486200009. Ein Slice umfasst alles pro Benutzer, übergeordnet und unabhängig von der Anzahl der Logins.

systemctl Cheat Sheet

systemctl daemon-reload

systemctl enable --now systemd-tmpfiles-clean.timer
systemctl start httpd.service
systemctl status httpd.service
systemctl reload-or-restart httpd.service
systemctl reload httpd.service
systemctl restart httpd.service
systemctl stop httpd.service
systemctl disable --now systemd-tmpfiles-clean.timer

# remove unit from failed list
systemctl reset-failed httpd.service

systemctl is-enabled httpd.service
systemctl is-active httpd.service
systemctl is-failed httpd.service

systemctl mask httpd.service
systemctl unmask httpd.service

systemctl isolate multi-user.target
systemctl get-default
systemctl set-default multi-user.target

systemctl list-dependencies httpd.service
systemctl list-unit-files --type=service

systemctl list-units --type=service
systemctl list-units --type=mounts
systemctl list-units --type=service --all

systemctl reboot
systemctl poweroff

Built on 2024-11-18