Code Review
/
packages
/
precise
/
mcollective.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
325d5f0
)
Update mcollective.init script according to OSCI-969
4.0
author
Dmitry Burmistrov
<dburmistrov@mirantis.com>
Thu, 12 Dec 2013 17:59:09 +0000
(21:59 +0400)
committer
Dmitry Burmistrov
<dburmistrov@mirantis.com>
Thu, 12 Dec 2013 18:39:22 +0000
(22:39 +0400)
Change-Id: Ib61ba93c3f0dd46bb172d31d3c51c5f9913e658a
debian/mcollective.init
patch
|
blob
|
history
diff --git
a/debian/mcollective.init
b/debian/mcollective.init
index 6fb229b0c1cc0397018eff095951ea090380706e..2cd6cff6f00843a8e9f2fd16760be860c62f9698 100755
(executable)
--- a/
debian/mcollective.init
+++ b/
debian/mcollective.init
@@
-47,7
+47,7
@@
case "$1" in
echo "Starting daemon: " $name
# start the program
if [ -f $pidfile ]; then
-
if [ -f "$(cat /proc/$(cat $pidfile)/exe > /dev/null)"
] ; then
+
if [ -f /proc/"$(cat $pidfile)"/exe
] ; then
echo MCollective appears to be running
exit 1
else