mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
9 lines
200 B
SYSTEMD
9 lines
200 B
SYSTEMD
|
[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
|