man: suggest SYSTEMD_WANTS usage instead of RUN for long running processes

Fixes: #14259
This commit is contained in:
Lennart Poettering 2020-01-16 16:36:33 +01:00
parent f27a21d48b
commit 49dd0c161a
1 changed files with 4 additions and 0 deletions

View File

@ -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>