diff options
author | Masatomo Nakano <nakano@gentoo.org> | 2002-11-16 05:35:58 +0000 |
---|---|---|
committer | Masatomo Nakano <nakano@gentoo.org> | 2002-11-16 05:35:58 +0000 |
commit | 4b401ecb1733a049364073dd3e5d4b7dbf517a3a (patch) | |
tree | 40df4d8ede98050cc6eed504bff2246b8d48c273 /app-i18n/canna/files/canna.initd | |
parent | update to apcupsd-3.10.1 (diff) | |
download | gentoo-2-4b401ecb1733a049364073dd3e5d4b7dbf517a3a.tar.gz gentoo-2-4b401ecb1733a049364073dd3e5d4b7dbf517a3a.tar.bz2 gentoo-2-4b401ecb1733a049364073dd3e5d4b7dbf517a3a.zip |
Update version.
Diffstat (limited to 'app-i18n/canna/files/canna.initd')
-rw-r--r-- | app-i18n/canna/files/canna.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-i18n/canna/files/canna.initd b/app-i18n/canna/files/canna.initd new file mode 100644 index 000000000000..3616fcf37165 --- /dev/null +++ b/app-i18n/canna/files/canna.initd @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# /space/gentoo/cvsroot/gentoo-x86/app-misc/canna/files/3.5_beta2/canna + +# CANNASERVER_OPTS is defined in /etc/conf.d/canna + +start() { + ebegin "Starting canna" + /usr/sbin/cannaserver ${CANNASERVER_OPTS} + eend $? "Failed to start canna" +} + +stop() { + ebegin "Stopping canna" + /usr/bin/cannakill + eend $? "Failed to stop canna" +} + |