summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/Canna/files/canna.sh.in3
-rw-r--r--japanese/canna-lib/files/canna.sh.in3
-rw-r--r--japanese/canna-server/files/canna.sh.in3
3 files changed, 6 insertions, 3 deletions
diff --git a/japanese/Canna/files/canna.sh.in b/japanese/Canna/files/canna.sh.in
index 63eb746..a44a0b7 100644
--- a/japanese/Canna/files/canna.sh.in
+++ b/japanese/Canna/files/canna.sh.in
@@ -11,8 +11,9 @@ start)
echo -n ' Canna'
$canna
fi
+ ;;
stop)
- killall $canna && echo -n ' Canna'
+ @PREFIX@/sbin/cannakill && echo -n ' Canna'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
diff --git a/japanese/canna-lib/files/canna.sh.in b/japanese/canna-lib/files/canna.sh.in
index 63eb746..a44a0b7 100644
--- a/japanese/canna-lib/files/canna.sh.in
+++ b/japanese/canna-lib/files/canna.sh.in
@@ -11,8 +11,9 @@ start)
echo -n ' Canna'
$canna
fi
+ ;;
stop)
- killall $canna && echo -n ' Canna'
+ @PREFIX@/sbin/cannakill && echo -n ' Canna'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
diff --git a/japanese/canna-server/files/canna.sh.in b/japanese/canna-server/files/canna.sh.in
index 63eb746..a44a0b7 100644
--- a/japanese/canna-server/files/canna.sh.in
+++ b/japanese/canna-server/files/canna.sh.in
@@ -11,8 +11,9 @@ start)
echo -n ' Canna'
$canna
fi
+ ;;
stop)
- killall $canna && echo -n ' Canna'
+ @PREFIX@/sbin/cannakill && echo -n ' Canna'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
OpenPOWER on IntegriCloud