device-mapper-multipath/0104-RHBZ-737989-systemd-unit-fix.patch
Benjamin Marzinski ec58dfa358 Modify 0103-add-disable-sync-option.patch
Add 0104-RHBZ-737989-systemd-unit-fix.patch
 * systemd will only start multipathd if /etc/multipath.conf exists
Add 0105-fix-oom-adj.patch
 * first try setting oom_score_adj
2011-09-21 06:45:47 -05:00

24 lines
724 B
Diff

---
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]