systemd/test/test-execute/exec-oomscoreadjust-positive.service
2015-11-18 10:25:59 +01:00

8 lines
167 B
Desktop File

[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