summaryrefslogtreecommitdiff
path: root/test/exec-oomscoreadjust-positive.service
blob: e47a4f139294cb4b267677106e6b5feaf1de9cb2 (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test for OOMScoreAdjust

[Service]
ExecStart=/bin/bash -c 'c=$(cat /proc/self/oom_score_adj); echo $c; exit $(test $c -eq 100)'
OOMScoreAdjust=100
Type=oneshot