systemd/test/test-execute/exec-oomscoreadjust-negative.service
2021-12-20 22:20:52 +01:00

9 lines
214 B
Desktop File

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for OOMScoreAdjust
[Service]
ExecStart=/bin/sh -x -c 'c=$$(cat /proc/self/oom_score_adj); test "$$c" -eq -100'
Type=oneshot
OOMScoreAdjust=-100