freebsd-ports/japanese/Canna/files/canna.sh.in
SADA Kenji a42b65903e Stop RUN_DEPEND to X, make BUILD_DEPEND only,
and some portlint check.
Submitted by:	MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
1999-01-04 20:21:59 +00:00

10 lines
228 B
Bash

#!/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