[systemd-devel] EnvironmentFile, (-)sign

Reindl Harald h.reindl at thelounge.net
Thu Feb 28 09:05:03 PST 2013

Am 28.02.2013 18:05, schrieb lux-integ:
> I am new to systemd.  I notice in the service files the  'EnvironmentFile' 
> path variable is prepended by a minus (-) sign like so:-
> EnvironmentFile=-/etc/sysconfig/whatever
> Could somene advise if this is necessary/advisable/advantageous...

if they file exists 100% for sure not
if is there is a chance that the file does not exist yes

- in fornt of the path means "ignore errors"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130228/af9771dd/attachment.pgp>

More information about the systemd-devel mailing list