diff options
Diffstat (limited to 'man/systemd-rc-local-generator.xml')
-rw-r--r-- | man/systemd-rc-local-generator.xml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/man/systemd-rc-local-generator.xml b/man/systemd-rc-local-generator.xml index f7f69998b1..cc6068a91e 100644 --- a/man/systemd-rc-local-generator.xml +++ b/man/systemd-rc-local-generator.xml @@ -53,8 +53,8 @@ Wants=network-online.target After=network-online.target </programlisting> - <para>Support for <filename>&RC_LOCAL_PATH;</filename> is provided for compatibility with specific System - V systems only. However, it is strongly recommended to avoid making use of this script today, and instead + <para>Support for <filename>&RC_LOCAL_PATH;</filename> is provided for compatibility with specific + System V systems only. However, it is strongly recommended to avoid using this script today, and instead provide proper unit files with appropriate dependencies for any scripts to run during the boot process. Note that the path to the script is set at compile time and varies between distributions.</para> @@ -63,6 +63,14 @@ After=network-online.target </refsect1> <refsect1> + <title>Notes</title> + + <para>On systems with SELinux, when creating the file, make sure to set the appropriate context, e.g. + with "<command>sudo restorecon -v &RC_LOCAL_PATH;</command>". + </para> + </refsect1> + + <refsect1> <title>See Also</title> <para><simplelist type="inline"> <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |