summaryrefslogtreecommitdiff
path: root/man/udev.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-01-16 16:36:33 +0100
committerLennart Poettering <lennart@poettering.net>2020-01-17 10:08:13 +0100
commit49dd0c161a1e81a46c8489056b7d5377821b0945 (patch)
tree134e6d32bd8120ab59e74010d4e9bb2659d2b175 /man/udev.xml
parentf27a21d48baccc211816ae751588eac39087df7a (diff)
downloadsystemd-49dd0c161a1e81a46c8489056b7d5377821b0945.tar.gz
man: suggest SYSTEMD_WANTS usage instead of RUN for long running processes
Fixes: #14259
Diffstat (limited to 'man/udev.xml')
-rw-r--r--man/udev.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/udev.xml b/man/udev.xml
index 09254f818e..9b97ee63d9 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -465,6 +465,10 @@
that is enforced on <filename>systemd-udevd.service</filename>.</para>
<para>Please also note that <literal>:=</literal> and <literal>=</literal> are clearing
both, program and builtin commands.</para>
+ <para>In order to activate long-running processes from udev rules, provide a service unit, and
+ pull it in from a udev device using the <varname>SYSTEMD_WANTS</varname> device property. See
+ <citerefentry><refentrytitle>systemd.device</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ for details.</para>
</listitem>
</varlistentry>