summaryrefslogtreecommitdiffstats
path: root/tags/s/systemd-service-file-missing-install-key.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/s/systemd-service-file-missing-install-key.tag')
-rw-r--r--tags/s/systemd-service-file-missing-install-key.tag9
1 files changed, 9 insertions, 0 deletions
diff --git a/tags/s/systemd-service-file-missing-install-key.tag b/tags/s/systemd-service-file-missing-install-key.tag
new file mode 100644
index 0000000..0d5dbd6
--- /dev/null
+++ b/tags/s/systemd-service-file-missing-install-key.tag
@@ -0,0 +1,9 @@
+Tag: systemd-service-file-missing-install-key
+Severity: info
+Check: systemd
+Explanation: The systemd service file does not contain a <code>WantedBy=</code> or
+ <code>RequiredBy=</code> key in its <code>[Install]</code> section.
+ .
+ Forgetting to add such a line (e.g. <code>WantedBy=multi-user.target</code>)
+ results in the service file not being started by default.
+See-Also: systemd.unit(5)