blob: 5b236570555de64e7ff074ba82b4d3cedd3a8354 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
customize_ini=/etc/bayescustomize.ini
depend() {
need net
}
start() {
ebegin "Starting SpamBayes POP3 Proxy daemon"
export BAYESCUSTOMIZE="${customize_ini}"
start-stop-daemon --start --quiet --background --pidfile /var/run/spambayes.pid --make-pidfile --exec /usr/bin/sb_server.py
eend $?
}
stop() {
ebegin "Stopping SpamBayes POP3 Proxy daemon"
start-stop-daemon --stop --quiet --pidfile /var/run/spambayes.pid --name sb_server.py
eend $?
}
|