On Do, 25.06.20 13:24, Ede Wolf (listac@xxxxxxxxxxxxxxxx) wrote: > So I have an environmentfile containing two variable definitions: > > RUNASUSER=nobody > MEM=4294967296 > > And my service section reads: > > [Service] > EnvironmentFile=/path/myfile > User=$RUNASUSER > LimitMEMLOCK=$MEM I am not sure what made you think this works, but systemd has no concept of env var expansion in unit files. It's not a shell. There's one exception: in ExecXYZ= settings there's env var expansion, but that's really it. And it's expanded at the moment of execution, i.e. not part of the unit file language, but of the executor code. Lennart -- Lennart Poettering, Berlin _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel