User Tools

Site Tools


linux:systemd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:systemd [2023/11/05 18:17] – created mslinux:systemd [2025/09/11 09:50] (current) ms
Line 1: Line 1:
 +Alle Dienste auflisten
 +<code>
 +systemctl list-unit-files
 +</code>
 +
 Alle Dienste auflisten (Services) Alle Dienste auflisten (Services)
 <code> <code>
 systemctl --type=service systemctl --type=service
 +</code>
 +
 +Config-File des Service anzeigen
 +<code>
 +systemctl cat networking.service
 +# /usr/lib/systemd/system/networking.service
 +[Unit]
 +Description=Raise network interfaces
 +Documentation=man:interfaces(5)
 +DefaultDependencies=no
 +Wants=network.target ifupdown-pre.service
 +After=local-fs.target network-pre.target apparmor.service systemd-sysctl.service systemd-modules-load.service ifupdown-pre.service
 +Before=network.target shutdown.target network-online.target
 +Conflicts=shutdown.target
 +
 +[Install]
 +WantedBy=multi-user.target
 +WantedBy=network-online.target
 +
 +[Service]
 +Type=oneshot
 +EnvironmentFile=-/etc/default/networking
 +ExecStart=/usr/sbin/ifup -a --read-environment
 +ExecStart=-/bin/sh -c 'if [ -f /run/network/restart-hotplug ]; then /usr/sbin/ifup -a --read-environment --allow=hotplug; fi'
 +ExecStop=/usr/sbin/ifdown -a --read-environment --exclude=lo
 +ExecStopPost=/usr/bin/touch /run/network/restart-hotplug
 +RemainAfterExit=true
 +TimeoutStartSec=5min
 </code> </code>
  
linux/systemd.txt · Last modified: 2025/09/11 09:50 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki