mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02:00
units: Order systemd-oomd after systemd-sysusers
systemd-sysusers might create the systemd-oom system user that
systemd-oomd runs under so let's order systemd-oomd after
systemd-sysusers.
(cherry picked from commit 36dd429680
)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
2989595155
commit
b6ca95740d
@@ -20,7 +20,7 @@ ConditionPathExists=/proc/pressure/cpu
|
||||
ConditionPathExists=/proc/pressure/io
|
||||
ConditionPathExists=/proc/pressure/memory
|
||||
Requires=systemd-oomd.socket
|
||||
After=systemd-oomd.socket
|
||||
After=systemd-oomd.socket systemd-sysusers.service
|
||||
|
||||
[Service]
|
||||
AmbientCapabilities=CAP_KILL CAP_DAC_OVERRIDE
|
||||
|
Reference in New Issue
Block a user