[Unit]
Description=Test for IOSchedulingClass=none

[Service]
ExecStart=/bin/bash -c 'c=$(ionice); echo $c; [[ "$c" == none* ]]'
Type=oneshot
IOSchedulingClass=none