Systemd/test/test-execute/exec-ioschedulingclass-idle.service

8 lines
165 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Test for IOSchedulingClass=idle
[Service]
ExecStart=/bin/bash -c 'c=$(ionice); echo $c; [[ "$c" == idle* ]]'
Type=oneshot
IOSchedulingClass=idle