X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.preset.xml;h=16db8cd85b5b5bd582b1ed2b21c42adfae9eeeb6;hp=1ba9272398e33c1f0fdf5b0d7a6d9c756efa1115;hb=6b46ea73e3b1d8a1e65f58ac04772821bd4a72fb;hpb=e9dd9f9547350c7dc0473583b5c2228dc8f0ab76 diff --git a/man/systemd.preset.xml b/man/systemd.preset.xml index 1ba927239..16db8cd85 100644 --- a/man/systemd.preset.xml +++ b/man/systemd.preset.xml @@ -86,7 +86,7 @@ If no preset files exist, systemctl preset will enable all units that are installed by default. If this is not desired and all - units shall rather be disabled it is necessary to ship + units shall rather be disabled, it is necessary to ship a preset file with a single, catchall "disable *" line. (See example 1, below.) @@ -125,14 +125,13 @@ /etc/ are reserved for the local administrator, who may use this logic to override the preset files installed by vendor packages. All preset - files are sorted by their filename in alphabetical + files are sorted by their filename in lexicographic order, regardless in which of the directories they - reside, to guarantee that a specific preset file takes - precedence over another file with an alphabetically - earlier name, if both files contain lines that apply - to the same unit names. It is recommended to prefix - all filenames with two-digit number, to simplify - ordering. + reside. If multiple files specify the same unit name, + the entry in the file with the lexicographically earliest + name will be applied. It is recommended to prefix all + filenames with a two-digit number and a dash, to simplify + the ordering of the files. If the administrator wants to disable a preset file supplied by the vendor, the recommended way is to