]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix path reference to unit file
authorGaël PORTAY <gael.portay@collabora.com>
Thu, 5 Mar 2020 17:38:31 +0000 (12:38 -0500)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 31 Dec 2020 11:43:44 +0000 (11:43 +0000)
The unit files are located at path /usr/lib/systemd/system.

This fixes the path reference to the unit file by adding the missing
path component system.

man/systemd.offline-updates.xml

index ef02d6f931d40208620d125e4b2c5d9474b6c698..67064517666bd040c7db5cdc1dc3bd8c96287634 100644 (file)
         symlink in the distribution package, rather than depending on <command>systemctl
         enable</command> in the postinst scriptlets of your package. More specifically, for your
         update script create a .service file, without [Install] section, and then add a symlink like
-        <filename index="false">/usr/lib/systemd/system-update.target.wants/foobar.service</filename>
+        <filename index="false">/usr/lib/systemd/system/system-update.target.wants/foobar.service</filename>
         → <filename index="false">../foobar.service</filename> to your package.</para>
       </listitem>