summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-oomscoreadjust-positive.service
blob: ea6c23f78e808dfab0c153b93f81a7b485f681e5 (plain)
1
2
3
4
5
6
7
8
# 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