On Thu, 2015-08-13 at 18:24 +0800, Ed Greshko wrote:
On 08/13/15 18:17, Patrick O'Callaghan wrote:
> On Thu, 2015-08-13 at 17:02 +0800, Ed Greshko wrote:
> > On 08/13/15 16:38, Patrick O'Callaghan wrote:
> > > throws up a whole bunch of of hits which don't include the word
> > > EnvironmentFile.
> > Oh, I think I parsed your statement wrong. I should have read it
> > as
> > "more than EnvironmentFile contains that syntax such as
> > ExecStartPre".
> >
> > But that then results in a different question which can be answer
> > in
> > the same manner which results in finding the same man page and
> > the
> > following output....
> >
> > ExecStartPre=, ExecStartPost=
> > Additional commands that are executed before or after
> > the
> > command in
> > ExecStart=, respectively. Syntax is the same as for
> > ExecStart=,
> > except that multiple command lines are allowed and the
> > commands are
> > executed one after the other, serially.
> >
> > If any of those commands (not prefixed with "-") fail,
> > the
> > rest are
> > not executed and the unit is considered failed.
> You can argue that if you like, but my point is that on seeing the
> examples the natural conclusion is that here is some new syntax I
> don't
> know about, so let me look in the systemd docs for some
> explanation.
> The fact that it's only documented in specific examples makes it
> much
> harder to find. I don't expect the syntax of environment variable
> assignments to be explained every time one of them shows up in a
> man
> page.
I'm not arguing, I'm making statements. And, BTW, as I said I think
the usage of "-" is context dependent. Have a look at "man
systemd.slice". So it seems the question "what is the general
meaning of -" may be an invalid question.
The only point I'm making is, the answer to the original question
seems easy to come by if one just makes the effort. Nothing more,
nothing less.
And my point is that it depends. I did make a considerable effort
without finding this and I'm not a newbie at this stuff. Maybe if you
had just given the straight dope instead of insisting it was easy to
find we wouldn't be having this discussion.
I propose to leave it at that.
poc