Files
systemd/test/test-execute/exec-oomscoreadjust-negative.service
T
2015-10-31 15:07:19 +01:00

8 lines
181 B
Desktop File

[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