Re: Q about Environment files of systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2015-08-13 at 16:30 +0800, Ed Greshko wrote:
> On 08/13/15 16:17, Christopher Ross wrote:
> > So if your glib statement "The answer you seek is in the man 
> > pages." is true I cannot find it. 
> 
> man -K EnvironmentFile
> 
> takes you first directly to SYSTEMD.EXEC(5).  Where you type 
> /EnvironmentFile which brings you to the definition of 
> EnvironmentFile= and includes the following in the second paragraph.
> 
> Konsole output The argument passed should be an absolute filename or 
> wildcard
> expression, optionally prefixed with "-", which indicates that if
> the file does not exist, it will not be read and no error or warning
> message is logged. This option may be specified more than once in
> which case all specified files are read. If the empty string is
> assigned to this option, the list of file to read is reset, all
> prior assignments have no effect.
> 
> Which answer the question "So, what's with the hyphen after = ?? " 

Except that:

grep "=-" /usr/lib/systemd/*/*

throws up a whole bunch of of hits which don't include the word
EnvironmentFile. IOW this syntax is not specific to that word, so the
fact that you found it with "man -K EnvironmentFile" is merely a lucky
guess. If you had done the above grep first, you most likely would not
have thought of it (as I didn't).

I still await some identification of where the general rule is
specified.

This is *not* good documentation.

poc
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux