mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08:00
systemd-networkd.socket: Add conflict with shutdown.target (#19348)
systemd-networkd.socket can re-start systemd-networkd.service in shutdown and by doing this even stop shutdown.target leaving the system in halfway-down state. Fixes #4955.
This commit is contained in:
parent
6604fb0207
commit
3181521f92
@ -12,7 +12,8 @@ Description=Network Service Netlink Socket
|
||||
Documentation=man:systemd-networkd.service(8) man:rtnetlink(7)
|
||||
ConditionCapability=CAP_NET_ADMIN
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target
|
||||
Before=sockets.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Socket]
|
||||
ReceiveBuffer=128M
|
||||
|
Loading…
Reference in New Issue
Block a user