summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-oomscoreadjust-negative.service
blob: 2234c53c3ff36472e0d534299eaab92f629f7f73 (plain)
1
2
3
4
5
6
7
[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