1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/canna-lib/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

11 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