mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 15:50:26 +01:00
core: tell systemd to restart NetworkManager.service if it exited with failure (bgo #741587)
Crashed NetworkManager.service was not restarted by systemd.
Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
https://bugzilla.gnome.org/show_bug.cgi?id=741587
(cherry picked from commit fe95185f6f)
This commit is contained in:
parent
e9af0c3c48
commit
e099433b01
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ Before=network.target @DISTRO_NETWORK_SERVICE@
|
|||
Type=dbus
|
||||
BusName=org.freedesktop.NetworkManager
|
||||
ExecStart=@sbindir@/NetworkManager --no-daemon
|
||||
Restart=on-failure
|
||||
# NM doesn't want systemd to kill its children for it
|
||||
KillMode=process
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue