diff options
author | NeilBrown <neilb@suse.com> | 2017-10-05 08:13:17 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-10-10 22:45:04 +0200 |
commit | f93b797b711d525a844d0daff8672abeca86f5db (patch) | |
tree | e833eb6bcf16c26dff27f392777c5553eb425797 /systemd | |
parent | mdcheck: improve cleanup (diff) | |
download | mdadm-f93b797b711d525a844d0daff8672abeca86f5db.tar.xz mdadm-f93b797b711d525a844d0daff8672abeca86f5db.zip |
Move mdadm_env.sh out of /usr/lib/systemd
The systemd developers like to keep control of the
lib/systemd namespace, and haven't approved of the use
of lib/systemd/scripts. So we should stop using it.
Move the mdadm_env.sh script, optionally sourced by
mdmonitor.service, to a new directory /usr/lib/mdadm.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/mdmonitor.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/mdmonitor.service b/systemd/mdmonitor.service index c7cff3e4..46f7b880 100644 --- a/systemd/mdmonitor.service +++ b/systemd/mdmonitor.service @@ -12,5 +12,5 @@ DefaultDependencies=no [Service] Environment= MDADM_MONITOR_ARGS=--scan EnvironmentFile=-/run/sysconfig/mdadm -ExecStartPre=-/usr/lib/systemd/scripts/mdadm_env.sh +ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS |