blob: 348b01c0492194a8550b09414c02be9fc2adb66b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
use net
use dns logger
after drac saslauthd
}
start() {
ebegin "Starting cyrus imapd"
start-stop-daemon --start --quiet --background \
--exec /usr/libexec/cyrusmaster -- ${CYRUS_OPTS}
eend $?
}
stop() {
ebegin "Stopping cyrus imapd"
start-stop-daemon --stop --quiet --pidfile /run/cyrus-master.pid
eend $?
}
|