Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From 74ff5e1cf8ef83dabcf6e6b92f87d6761f7f4d51 Mon Sep 17 00:00:00 2001 |
| 2 | From: Li xin <lixin.fnst@cn.fujitsu.com> |
| 3 | Date: Tue, 7 Jul 2015 11:34:36 +0900 |
| 4 | Subject: [PATCH] multipathd.service: Error fix |
| 5 | |
| 6 | Failed to start Device-Mapper Multipath Device Controller. |
| 7 | |
| 8 | Upstream-Status: pending |
| 9 | |
| 10 | Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> |
| 11 | --- |
| 12 | multipathd/multipathd.service | 5 +++-- |
| 13 | 1 file changed, 3 insertions(+), 2 deletions(-) |
| 14 | |
| 15 | diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service |
| 16 | index be3ba3f..b8d3ecd 100644 |
| 17 | --- a/multipathd/multipathd.service |
| 18 | +++ b/multipathd/multipathd.service |
| 19 | @@ -6,11 +6,12 @@ DefaultDependencies=no |
| 20 | Conflicts=shutdown.target |
| 21 | |
| 22 | [Service] |
| 23 | -Type=notify |
| 24 | +Type=forking |
| 25 | NotifyAccess=main |
| 26 | LimitCORE=infinity |
| 27 | +PIDFile=/var/run/multipathd.pid |
| 28 | ExecStartPre=/sbin/modprobe dm-multipath |
| 29 | -ExecStart=/sbin/multipathd -d -s |
| 30 | +ExecStart=/sbin/multipathd |
| 31 | ExecReload=/sbin/multipathd reconfigure |
| 32 | |
| 33 | [Install] |
| 34 | -- |
| 35 | 1.8.4.2 |
| 36 | |