summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-cpuaffinity2.service
blob: 0dda77f939e18dfd1c25e4a9606d2eb2db5dfcce (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Test for CPUAffinity (reset)

[Service]
ExecStart=/bin/sh -c 'test $$(cat /proc/self/status | grep Cpus_allowed: | rev | cut -c 1) = 1'
CPUAffinity=0-1 3
CPUAffinity=
CPUAffinity=0