aboutsummaryrefslogtreecommitdiffstats
path: root/main/multipath-tools/multipath-tools.initd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-06-28 07:37:58 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-06-28 07:38:17 +0000
commitf587bac34fdb411e62fc058ed61a0caf83628ccf (patch)
tree1d93bd9872671ba5a39e46b04d72e23bc9b0ddb8 /main/multipath-tools/multipath-tools.initd
parenta3b3b7d8124c9d508e533021b75aab868c26e39e (diff)
downloadaports-f587bac34fdb411e62fc058ed61a0caf83628ccf.tar.bz2
aports-f587bac34fdb411e62fc058ed61a0caf83628ccf.tar.xz
main/multipath-tools: create pidfile
Diffstat (limited to 'main/multipath-tools/multipath-tools.initd')
-rw-r--r--main/multipath-tools/multipath-tools.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/multipath-tools/multipath-tools.initd b/main/multipath-tools/multipath-tools.initd
index 8c02b21dd5..4d873b4b12 100644
--- a/main/multipath-tools/multipath-tools.initd
+++ b/main/multipath-tools/multipath-tools.initd
@@ -23,7 +23,8 @@ undo_nodes() {
start() {
ebegin "Starting multipathd"
- start-stop-daemon --start --quiet --exec /sbin/multipathd
+ start-stop-daemon --start --quiet --make-pidfile \
+ --pidfile /var/run/multipathd.pid --exec /sbin/multipathd
do_nodes()
eend $?
}