summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Garthe (the_mgt) <themgt@uncensored.citadel.org>2010-02-08 00:08:04 +0000
committerStefan Garthe (the_mgt) <themgt@uncensored.citadel.org>2010-02-08 00:08:04 +0000
commit1c2bf60a727e31e87205c95bee7d29acd6a4d105 (patch)
tree54fb449a8ba994dd91cc559d616b40fdf18cce68 /mail-mta/citadel/files
parentdev-libs/libcitadel: Version bump for libcitadel to current 7.71 version (diff)
downloadsunrise-1c2bf60a727e31e87205c95bee7d29acd6a4d105.tar.gz
sunrise-1c2bf60a727e31e87205c95bee7d29acd6a4d105.tar.bz2
sunrise-1c2bf60a727e31e87205c95bee7d29acd6a4d105.zip
mail-mta/citadel: Version bump to current 7.71 version. Corrected and improved init script
svn path=/sunrise/; revision=9995
Diffstat (limited to 'mail-mta/citadel/files')
-rw-r--r--mail-mta/citadel/files/citadel.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail-mta/citadel/files/citadel.init b/mail-mta/citadel/files/citadel.init
index 29b058635..023f6ec74 100644
--- a/mail-mta/citadel/files/citadel.init
+++ b/mail-mta/citadel/files/citadel.init
@@ -17,15 +17,15 @@ SENDCOMMAND="/usr/sbin/sendcommand"
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
-svc_start() {
+start() {
ebegin "Starting citserver"
start-stop-daemon --start --exec /usr/sbin/citserver -- ${CITSERVER_OPTS}
eend $?
}
-svc_stop() {
+stop() {
ebegin "Stopping citserver"
- start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
+ ${SENDCOMMAND} DOWN &>/dev/null
eend $?
}