mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
7 lines
170 B
SYSTEMD
7 lines
170 B
SYSTEMD
|
[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
|