HALF ECHO LEARN / REFERENCE COLLECTION
v262.2test/test-execute/exec-oomscoreadjust-negative.service
Git blob: a6d3a52d4ed653ada5699a665f11752d072a57a4
Lines 1–9 of 9
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for OOMScoreAdjust
[Service]
ExecStart=bash -x -c 'c=$$(cat /proc/self/oom_score_adj); test "$$c" -eq -100'
Type=oneshot
OOMScoreAdjust=-100