[systemd-devel] [PATCH v2 2/2] update TODO

Alexandre Detiste alexandre.detiste at gmail.com
Thu Nov 20 21:49:43 PST 2014


Hi,

> What's the usecase for setting empty environment variables?
> 
> JBG

I use it to pass along information in my generator:

"Environment=MAILTO=" means "don't send any mail in case of failure".

By the default the mail would be sent the to <value of User=>@localhost .

The support for this is already there, this patch merely add a test.

Le jeudi 20 novembre 2014, 22:27:30 Jóhann B. Guðmundsson a écrit :
> 
> On 11/20/2014 08:18 PM, Iago López Galeiras wrote:
> > Empty environment variables in Environment= and EnvironmentFile= options
> > work.
> 



More information about the systemd-devel mailing list