[systemd-devel] Variables in the [Unit] section of a server
Lennart Poettering
lennart at poettering.net
Wed Feb 3 03:46:26 PST 2016
On Tue, 02.02.16 11:05, Steve Dickson (SteveD at redhat.com) wrote:
> > You can always use some kind of hackery in ExecStartPre, but I don't think that's
> > what anyone wants.
> >
> Well its to bad ConditionPathExists is not part of the [Service] section
> so I could use a shell variable...
env vars are only supported in ExecXYZ= lines, no others. This has
little to do with the [Service] section.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list