summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-cpuaffinity1.service
blob: 84d550a3855b80890d7a2c97c742306a26486cf8 (plain)
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