summaryrefslogtreecommitdiff
path: root/japanese/canna-lib/files/canna.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/canna-lib/files/canna.sh.in')
-rw-r--r--japanese/canna-lib/files/canna.sh.in32
1 files changed, 0 insertions, 32 deletions
diff --git a/japanese/canna-lib/files/canna.sh.in b/japanese/canna-lib/files/canna.sh.in
deleted file mode 100644
index 1595ca688f9f..000000000000
--- a/japanese/canna-lib/files/canna.sh.in
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-OPTIONS="-u bin"
-# Uncomment the following if you want to use a TCP connection
-# instead of a UNIX domain socket.
-#OPTIONS="-u bin -inet"
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/${0##*/}\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 64
-fi
-
-
-case "$1" in
-start)
- if [ -x ${PREFIX}/sbin/cannaserver ]; then
- @RM@ -f /tmp/.iroha_unix/IROHA
- @TOUCH@ /var/log/CANNA0msgs
- @CHOWN@ bin:bin /var/log/CANNA0msgs
- ${PREFIX}/sbin/cannaserver ${OPTIONS} && echo -n ' canna'
- fi
- ;;
-stop)
- ${PREFIX}/sbin/cannakill && echo -n ' canna'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac
-
-exit 0