mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
ac40081621
To avoid polluting test/
8 lines
179 B
Desktop File
8 lines
179 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
|