Debian Codegraph @

systemd/mdmonitor.service

raw
1 # This file is part of mdadm.
2 #
3 # mdadm is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7
8 [Unit]
9 Description=MD array monitor
10 DefaultDependencies=no
11 Documentation=man:mdadm(8)
12
13 [Service]
14 # For Maintainers:
15 # We need to ensure that the mdmonitor configuration aligns with the guidelines provided
16 # in the man page for users.
17 # /etc/sysconfig/mdadm, /etc/sysconfig/mdmonitor, or any other similar configuration file should
18 # not be supported because non upstream components are not described in man pages.
19
20 # Parameters designed to be customized by user, should be settable via mdadm.conf:
21 # - MONITORDELAY (do not set --delay in service)
22 # - MAILADDR (do not set --mail in service)
23 # - MAILFROM (not settable from cmdline)
24 # - PROGRAM (do not set --program or --alert in service)
25 #
26 # Following parameters can be customized in service:
27 # - --syslog (configure syslog logging)
28 # - --fork (Type=forking must be added, not recommended and not needed with systemd)
29 # - --pid-file (allowed only when --fork selected)
30
31 ExecStart=BINDIR/mdadm --monitor --scan