aboutsummaryrefslogtreecommitdiff
path: root/japanese/canna-lib/files
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>1999-01-04 20:21:59 +0000
committerSADA Kenji <sada@FreeBSD.org>1999-01-04 20:21:59 +0000
commita42b65903e3f746971322d96e40df74b10f253d7 (patch)
treee179e40fe3f93772c248b932a7a2dbb54ad86b01 /japanese/canna-lib/files
parent519068f8e938a307fbf7b29c5a8a1e5e82bd2f48 (diff)
downloadports-a42b65903e3f746971322d96e40df74b10f253d7.tar.gz
ports-a42b65903e3f746971322d96e40df74b10f253d7.zip
Notes
Diffstat (limited to 'japanese/canna-lib/files')
-rw-r--r--japanese/canna-lib/files/canna.sh.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/japanese/canna-lib/files/canna.sh.in b/japanese/canna-lib/files/canna.sh.in
new file mode 100644
index 000000000000..beab506bd53a
--- /dev/null
+++ b/japanese/canna-lib/files/canna.sh.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+canna=@PREFIX@/sbin/cannaserver
+if [ -f $canna ]; then
+ rm -f /var/run/canna/Canna.pid
+ mkdir -p /var/run/canna
+ touch /var/log/CANNA0msgs
+ chown bin:bin /var/run/canna /var/log/CANNA0msgs
+ echo -n ' Canna'
+ $canna
+fi