mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 22:10:09 +01:00
systemd's new network-online target abstracts the "wait until networking is up" stuff, and NM-wait-online implements that functionality. Thus NM-wait-online should be ordered before (and thus be a dependency of) network-online.
16 lines
345 B
SYSTEMD
16 lines
345 B
SYSTEMD
[Unit]
|
|
Description=Network Manager
|
|
Wants=network.target
|
|
Before=network.target
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.freedesktop.NetworkManager
|
|
ExecStart=@sbindir@/NetworkManager --no-daemon
|
|
# NM doesn't want systemd to kill its children for it
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=dbus-org.freedesktop.NetworkManager.service
|
|
|