Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 214722 Details for
Bug 299090
[EBUILD] mail-filter/dspam 3.10.0 and -9999 (GIT MASTER)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mail-filter/dspam/files/dspam.initd
dspam.initd (text/plain), 1.23 KB, created by
steveb
on 2009-12-31 11:56:44 UTC
(
hide
)
Description:
mail-filter/dspam/files/dspam.initd
Filename:
MIME Type:
Creator:
steveb
Created:
2009-12-31 11:56:44 UTC
Size:
1.23 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > use logger > need net > before mta > after pg_autovacuum postgresql mysql ldap >} > >checkconfig() { > local include_conf="" > if [ ! -f "/etc/mail/dspam/dspam.conf" ] > then > eerror "You need a DSPAM configuration in /etc/mail/dspam/dspam.conf" > return 1 > fi > include_conf="$(sed -n "s:^Include[\t ]*[\"']\{0,1\}\([^\"']*\).*:\1:gp" /etc/mail/dspam/dspam.conf)" > if ( ! grep -q "^ServerPID" /etc/mail/dspam/dspam.conf ${include_conf[@]}) > then > eerror "ServerPID missing in DSPAM configuration /etc/mail/dspam/dspam.conf" > return 1 > fi >} > >start() { > checkconfig || return 1 > > ebegin "Starting DSPAM" > start-stop-daemon --start --quiet --background \ > --exec /usr/bin/dspam -- --daemon --debug > eend ${?} >} > >stop() { > checkconfig || return 1 > > local include_conf="" > local DSPAM_PID="" > > include_conf="$(sed -n "s:^Include[\t ]*[\"']\{0,1\}\([^\"']*\).*:\1:gp" /etc/mail/dspam/dspam.conf)" > DSPAM_PID="$(sed -n "s:^ServerPID[\t ]*[\"']\{0,1\}\([^\"']*\).*:\1:gp" /etc/mail/dspam/dspam.conf ${include_conf[@]}|sed q)" > > ebegin "Stopping DSPAM" > start-stop-daemon --stop --quiet --pidfile ${DSPAM_PID} > eend ${?} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 299090
:
214722
|
214726
|
214727
|
214729
|
214730
|
214731
|
214733
|
214735
|
216134
|
216137
|
216650
|
216656
|
216658
|
216660
|
216678
|
216680
|
216681
|
216684
|
227655
|
227657
|
276007
|
276009
|
276011
|
276019
|
276021
|
281899
|
281901
|
281903
|
281905
|
282111
|
282113
|
282115
|
282117
|
282119
|
282121