mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09: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.
This commit is contained in:
@@ -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