I asked about something similar to this a while back. I think the answer was that variable expansion only works in the Exec* directives.
Cheers, Brian On Thu, Sep 29, 2016, 03:26 Vasiliy Tolstov <[email protected]> wrote: > 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: [email protected] > _______________________________________________ > systemd-devel mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/systemd-devel >
_______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
