chiark / gitweb /
man: .include directive does not include as textual include it includes by parsing...
authorBarry Scott <barry.scott@onelan.co.uk>
Mon, 3 Oct 2011 10:50:10 +0000 (11:50 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 10 Oct 2011 23:11:49 +0000 (01:11 +0200)
This means that section headers must be used inside of
a .include file otherwise all the lines are ignored.

man/systemd.unit.xml

index bf8de322ddd70ca1d64043f0802251c69b6c4d85..e47c14679e36c5c296bb881e1369b64d0694aeb4 100644 (file)
 
                 <para>If a line starts with <option>.include</option>
                 followed by a file name, the specified file will be
-                read as if its contents were listed in place of the
-                <option>.include</option> directive.</para>
+                parsed at this point. Make sure that the file that is
+                included has the appropiate section headers before
+                any directives.</para>
 
                 <para>Along with a unit file
                 <filename>foo.service</filename> a directory