1 2 3 4 5 6
[Unit] Description=Test for CPUAffinity (simple) [Service] ExecStart=/bin/sh -c 'test $$(cat /proc/self/status | grep Cpus_allowed: | rev | cut -c 1) = 1' CPUAffinity=0