[systemd-devel] assign variable to some service item

Vasiliy Tolstov v.tolstov at selfip.ru
Thu Sep 29 08:25:49 UTC 2016


I have CPUAffinity inside service file and want to configure it via
EnvironmentFile, but
CPUAffinity=$CPUAffinity does not work with message Failed to parse
CPU affinity '$CPUAffinity'
Environment file contains CPUAffinity="0-2"
Does it possible to assign cpu affinity via env variable ?
Thanks!


-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru


More information about the systemd-devel mailing list