[systemd-devel] multi-valued vs multiple directives in unitfile

Stijn De Weirdt stijn.deweirdt at ugent.be
Thu Oct 29 03:43:36 PDT 2015


hi all,

i'm trying to understand the syntax for multi-valued directives in
unitfiles, adn i'm a bit confused by the documentation/man pages.

Q1: e.g. for the `[Unit]` section, the AssertPathExists= directive supports

AssertPathExists=
AssertPathExists=/file1

to reset any previously defined paths.

but i wonder if the directive also supports
AssertPathExists=/file1 /file2

instead of

AssertPathExists=/file1
AssertPathExists=/file2

(so nothing to reset, just (add) multiple values).

Q2: additionally, is the multiline syntax also allowed for other/all
multivalued directives, like OnFailure= ?



stijn



More information about the systemd-devel mailing list