summaryrefslogtreecommitdiffstats
path: root/systemd/mdmonitor.service
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-09-10 15:35:03 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-10-10 16:14:19 +0200
commit70f3a1bcb0ff3b740f986b5819931b93c8bed24d (patch)
tree25b29d8415185126cb0749d37a3d6fdd0477d943 /systemd/mdmonitor.service
parentmdmonitor: Abandon custom configuration files (diff)
downloadmdadm-70f3a1bcb0ff3b740f986b5819931b93c8bed24d.tar.xz
mdadm-70f3a1bcb0ff3b740f986b5819931b93c8bed24d.zip
mdadm.man: elaborate more about mdmonitor.service
Describe how it behaves and how it can be configured to work. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'systemd/mdmonitor.service')
-rw-r--r--systemd/mdmonitor.service11
1 files changed, 7 insertions, 4 deletions
diff --git a/systemd/mdmonitor.service b/systemd/mdmonitor.service
index 6d0c0039..95046bc5 100644
--- a/systemd/mdmonitor.service
+++ b/systemd/mdmonitor.service
@@ -12,10 +12,12 @@ Documentation=man:mdadm(8)
[Service]
# For Maintainers:
-# We need to provide consistent mdmonitor configuration man page to the users. We don't want to get
-# asked continuously how it can be configured.
-# /etc/sysconfig/mdadm or /etc/sysconfig/mdmonitor or whatever else, should be abandoned.
-# Following parameters should be customized via mdadm.conf only:
+# We need to ensure that the mdmonitor configuration aligns with the guidelines provided
+# in the man page for users.
+# /etc/sysconfig/mdadm, /etc/sysconfig/mdmonitor, or any other similar configuration file should
+# not be supported because non upstream components are not described in man pages.
+
+# Parameters designed to be customized by user, should be settable via mdadm.conf:
# - MONITORDELAY (do not set --delay in service)
# - MAILADDR (do not set --mail in service)
# - MAILFROM (not settable from cmdline)
@@ -25,4 +27,5 @@ Documentation=man:mdadm(8)
# - --syslog (configure syslog logging)
# - --fork (Type=forking must be added, not recommended and not needed with systemd)
# - --pid-file (allowed only when --fork selected)
+
ExecStart=BINDIR/mdadm --monitor --scan