Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37871409
en ru br
Репозитории ALT
S:2.3.21-alt1
D:1.1-alt0.hg20070530
5.1: 1.2.4-alt5
4.1: 1.0.13-alt1
4.0: 1.0.3.hg20070801-alt1
+updates:1.0.3.hg20070801-alt1
3.0: 0.99.14-alt2
www.altlinux.org/Changes

Другие репозитории
Upstream:1.0.13

Группа :: Система/Серверы
Пакет: dovecot

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

#!/bin/sh
#
# dovecot Dovecot secure IMAP server
#
# chkconfig: 35 70 30
# description: Security is the major goal of this project, \
# with reliability coming second.
#
# processname: dovecot
# child processes: imap, imap-auth, imap-login
# config: /etc/dovecot.conf
# pidfile: none

# Do not load RH compatibility interface.
WITHOUT_RC_COMPAT=1

# Source function library.
. /etc/init.d/functions

#PIDFILE=/var/run/dovecot.pid
LOCKFILE=/var/lock/subsys/dovecot
RETVAL=0

start()
{
msg_starting "Dovecot secure IMAP server"
start_daemon --lockfile "$LOCKFILE" --no-announce --expect-user root -- dovecot
RETVAL=$?
return $RETVAL
}

stop()
{
msg_stopping "Dovecot secure IMAP server"
stop_daemon --lockfile "$LOCKFILE" --no-announce --expect-user root -- dovecot
RETVAL=$?
return $RETVAL
}

restart()
{
stop
start
}

reload()
{
msg_reloading dovecot
stop_daemon --lockfile "$LOCKFILE" --expect-user root -HUP -- dovecot
RETVAL=$?
return $RETVAL
}

# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
reload)
reload
;;
restart)
restart
;;
condstop)
if [ -e "$LOCKFILE" ]; then
stop
fi
;;
condrestart)
if [ -e "$LOCKFILE" ]; then
restart
fi
;;
condreload)
if [ -e "$LOCKFILE" ]; then
reload
fi
;;
status)
status --expect-user root -- dovecot
RETVAL=$?
;;
*)
msg_usage "${0##*/} {start|stop|reload|restart|condstop|condrestart|condreload|status}"
RETVAL=1
esac

exit $RETVAL
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin