X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsystemd.generator.xml;h=babbe14e0447985a0557f401ff156662be31d185;hb=6b49257f6b92c1bcdf02ca0e896009da36ed9bb0;hp=97f3965c3603b633162ca1304b3973f573891e62;hpb=8f1ae1d99855514afc480996a7174204dd6022fc;p=thirdparty%2Fsystemd.git diff --git a/man/systemd.generator.xml b/man/systemd.generator.xml index 97f3965c360..babbe14e044 100644 --- a/man/systemd.generator.xml +++ b/man/systemd.generator.xml @@ -1,27 +1,15 @@ - %entities; ]> - - + systemd.generator systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - @@ -36,7 +24,7 @@ - /path/to/generator + /path/to/generator normal-dir early-dir late-dir @@ -205,12 +193,15 @@ - It is a good idea to use the SourcePath= directive - in generated unit files to specify the source configuration file you are - generating the unit from. This makes things more easily understood by the - user and also has the benefit that systemd can warn the user about - configuration files that changed on disk but have not been read yet by - systemd. + The generator should always include its own name in a comment at the top of the generated file, + so that the user can easily figure out which component created or amended a particular unit. + + The SourcePath= directive should be used in generated files to specify the + source configuration file they are generated from. This makes things more easily understood by the + user and also has the benefit that systemd can warn the user about configuration files that changed + on disk but have not been read yet by systemd. The SourcePath= value does not have + to be a file in a physical filesystem. For example, in the common case of the generator looking at + the kernel command line, should be used. @@ -269,7 +260,7 @@ systemd-fstab-generator8 converts /etc/fstab into native mount units. It uses argv[1] as location to place the generated unit files in order to allow the - user to override /etc/fstab with her own native unit + user to override /etc/fstab with their own native unit files, but also to ensure that /etc/fstab overrides any vendor default from /usr. @@ -319,6 +310,7 @@ find $dir systemd-rc-local-generator8, systemd-system-update-generator8, systemd-sysv-generator8, + systemd-xdg-autostart-generator8, systemd.unit5, systemctl1, systemd.environment-generator7