Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 243474 | Differences between
and this patch

Collapse All | Expand All

(-)spamd.old (-1 / +4 lines)
Lines 17-30 Link Here
17
}
17
}
18
18
19
start() {
19
start() {
20
	ebegin "Starting spamd"
20
	ebegin "Starting spamd"
21
	start-stop-daemon --start --quiet \
21
	start-stop-daemon --start --quiet \
22
		--name spamd \
23
		--nicelevel ${SPAMD_NICELEVEL:-0} \
22
		--nicelevel ${SPAMD_NICELEVEL:-0} \
23
		--pidfile ${PIDFILE} \
24
		--exec /usr/sbin/spamd -- -d -r ${PIDFILE} \
24
		--exec /usr/sbin/spamd -- -d -r ${PIDFILE} \
25
			${SPAMD_OPTS}
25
			${SPAMD_OPTS}
26
	if ! [ -f "${PIDFILE}" ]; then
27
		sleep 1
28
	fi
26
	eend $? "Failed to start spamd"
29
	eend $? "Failed to start spamd"
27
}
30
}
28
31
29
stop() {
32
stop() {
30
	ebegin "Stopping spamd"
33
	ebegin "Stopping spamd"

Return to bug 243474