mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
8 lines
179 B
SYSTEMD
8 lines
179 B
SYSTEMD
|
[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
|