blob: 0fb85e8ece09913771e0ddb1e868594297c1a94c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/pop-before-smtp/files/pop-before-smtp.init,v 1.4 2004/11/05 13:54:00 ticho Exp $
opts="reload"
depend() {
need net
use logger dns ypbind
}
start() {
ebegin "Starting pop-before-smtp"
start-stop-daemon --start --pidfile /var/run/pop-before-smtp.pid --startas /usr/sbin/pop-before-smtp -- --daemon=/var/run/pop-before-smtp.pid
eend $?
}
stop() {
ebegin "Stopping pop-before-smtp"
start-stop-daemon --stop --pidfile /var/run/pop-before-smtp.pid
eend $?
}
reload() {
ebegin "Reloading postfix"
/usr/sbin/postfix reload &>/dev/null
eend $?
}
|