HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

test/test-execute/exec-oomscoreadjust-positive.service

Git blob: 1d903d3b7a7813169e25d072c430d46807caa5ae

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