]> git.ipfire.org Git - thirdparty/systemd.git/blob - test/test-execute/exec-oomscoreadjust-positive.service
tests: add spdx license header to test unit/link/network/conf files
[thirdparty/systemd.git] / test / test-execute / exec-oomscoreadjust-positive.service
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for OOMScoreAdjust
4
5 [Service]
6 ExecStart=/bin/sh -x -c 'c=$$(cat /proc/self/oom_score_adj); test "$$c" -eq 100'
7 Type=oneshot
8 OOMScoreAdjust=100