blob: 9c7c81875ff907d8bf470e867c927147a2605d53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#! /bin/sh
#
# $NetBSD: canna,v 1.1 2001/03/16 18:16:38 wiz Exp $
#
# PROVIDE: canna
# REQUIRE: DAEMON
name="canna"
command_start="@PREFIX@/sbin/cannaserver"
pidfile=""
cmd=${1:-start}
case ${cmd} in
start)
if [ -x ${command_start} ]; then
echo "Starting ${name}."
${command_start} >/dev/null 2>&1
fi
;;
*)
:
;;
esac
exit 0
|