summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-cpuaffinity3.service
blob: 774cd642cd8dfe3b9eb904b92fb3a3e11debf476 (plain)
1
2
3
4
5
6
7
8
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for CPUAffinity (merge)

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