Refreshing mdmonitor-service-simplify.patch.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
13a1db4ad2
commit
9c42c250a9
3 changed files with 18 additions and 21 deletions
17
debian/patches/debian/0002-mdmonitor-service-simplify.patch
vendored
Normal file
17
debian/patches/debian/0002-mdmonitor-service-simplify.patch
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Author: Michael Tokarev <mjt@tls.msk.ru>
|
||||||
|
Description: Simplify mdmonitor.service (Closes: #764647).
|
||||||
|
There isn't much for customization for mdadm --monitor.
|
||||||
|
it'll just do what it's supposed to do, so just run it.
|
||||||
|
|
||||||
|
diff -Naurp mdadm.orig/systemd/mdmonitor.service mdadm/systemd/mdmonitor.service
|
||||||
|
--- mdadm.orig/systemd/mdmonitor.service
|
||||||
|
+++ mdadm/systemd/mdmonitor.service
|
||||||
|
@@ -11,7 +11,4 @@ DefaultDependencies=no
|
||||||
|
Documentation=man:mdadm(8)
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-Environment= MDADM_MONITOR_ARGS=--scan
|
||||||
|
-EnvironmentFile=-/run/sysconfig/mdadm
|
||||||
|
-ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
|
||||||
|
-ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS
|
||||||
|
+ExecStart=BINDIR/mdadm --monitor --scan
|
20
debian/patches/mdmonitor-service-simplify.diff
vendored
20
debian/patches/mdmonitor-service-simplify.diff
vendored
|
@ -1,20 +0,0 @@
|
||||||
Subject: simplify mdmonitor.service
|
|
||||||
From: Michael Tokarev <mjt@tls.msk.ru>
|
|
||||||
Date: Fri, 14 Nov 2014 19:18:05 +0300
|
|
||||||
Bug-Debian: http://bugs.debian.org/764647
|
|
||||||
Forwarded: no
|
|
||||||
|
|
||||||
There isn't much for customization for mdadm --monitor.
|
|
||||||
it'll just do what it's supposed to do, so just run it.
|
|
||||||
|
|
||||||
--- a/systemd/mdmonitor.service
|
|
||||||
+++ b/systemd/mdmonitor.service
|
|
||||||
@@ -11,7 +11,4 @@ DefaultDependencies=no
|
|
||||||
Documentation=man:mdadm(8)
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
-Environment= MDADM_MONITOR_ARGS=--scan
|
|
||||||
-EnvironmentFile=-/run/sysconfig/mdadm
|
|
||||||
-ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
|
|
||||||
-ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS
|
|
||||||
+ExecStart=BINDIR/mdadm --monitor --scan
|
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
|
@ -1,5 +1,5 @@
|
||||||
debian/0001-fix-manpages.patch
|
debian/0001-fix-manpages.patch
|
||||||
mdmonitor-service-simplify.diff
|
debian/0002-mdmonitor-service-simplify.patch
|
||||||
host-name-in-default-mailfrom.patch
|
host-name-in-default-mailfrom.patch
|
||||||
exit-gracefully-when-md-device-not-found.patch
|
exit-gracefully-when-md-device-not-found.patch
|
||||||
sha1-includes.diff
|
sha1-includes.diff
|
||||||
|
|
Loading…
Add table
Reference in a new issue