From f93b797b711d525a844d0daff8672abeca86f5db Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Thu, 5 Oct 2017 17:13:17 +1100 Subject: 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 Signed-off-by: Jes Sorensen --- systemd/mdmonitor.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemd') 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 -- cgit v1.2.3