I have a systemd bob.target as follows:
[email protected] [email protected], [email protected]
I want to set a two-cpu CPUAffinity for each of the bob@ services as follows:
CPUAffinity=0,4 # bob@0
CPUAffinity=1,5 # bob@1
CPUAffinity=2,6 # bob@2
My ideal goal would be to set two CPUS as follows:
CPUAffinity=%i %i+1
When I try the following to dynamically set one of the CPUS I get a parse error:
CPUAffinity=%i
Is there a way to dynamically set the CPUAffinity?