From d486316769de6eaa9863724f50d17682c8b69825 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Thu, 2 Jun 2022 11:58:53 -0700 Subject: [PATCH] Manual.md: recommend keeping systemd units Ref #32154 Closes #32481 --- Manual.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Manual.md b/Manual.md index 0f16aeb3875cea..2f17549d52bf0d 100644 --- a/Manual.md +++ b/Manual.md @@ -1415,6 +1415,14 @@ If the service requires directories in parts of the system that are not generall temporary filesystems. Then use the `make_dirs` variable in the template to create those directories when the package is installed. +If the package installs a systemd service file or other unit, leave it in place as a +reference point so long as including it has no negative side effects. + +Examples of when *not* to install systemd units: + +1. When doing so changes runtime behavior of the packaged software. +2. When it is done via a compile time flag that also changes build dependencies. + ### 32bit packages