summaryrefslogtreecommitdiffstats
path: root/0104-RHBZ-737989-systemd-unit-fix.patch
blob: d24d58d26e8ddda2952d3c11ef824b8f186ed160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
 multipathd/multipathd.service |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: multipath-tools/multipathd/multipathd.service
===================================================================
--- multipath-tools.orig/multipathd/multipathd.service
+++ multipath-tools/multipathd/multipathd.service
@@ -2,12 +2,13 @@
 Description=Device-Mapper Multipath Device Controller
 Before=iscsi.service iscsid.service
 After=syslog.target
+ConditionPathExists=/etc/multipath.conf
 
 [Service]
 Type=forking
 PIDFile=/var/run/multipathd.pid
 ExecStart=/sbin/multipathd
-ExecReload=/bin/kill -HUP $MAINPID
+ExecReload=/sbin/multipathd reconfigure
 #ExecStop=/path/to/scrip delete-me if not necessary
 
 [Install]