Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 3587 Details for
Bug 7338
Fetchmail update & small fix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New fetchmail init script with procmail log's redirected to local console
fetchmail (text/plain), 1.17 KB, created by
Javier Marcet
on 2002-09-01 12:40:45 UTC
(
hide
)
Description:
New fetchmail init script with procmail log's redirected to local console
Filename:
MIME Type:
Creator:
Javier Marcet
Created:
2002-09-01 12:40:45 UTC
Size:
1.17 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later >#/space/gentoo/cvsroot/gentoo-x86/net-mail/fetchmail/files/fetchmail,v1.0 2002/06/07 07:05:17 jmarcet Exp > >depend() { > need net > use logger >} > >checkconfig() { > if [ ! -f /etc/fetchmailrc ]; then > eerror "Configuration file /etc/fetchmailrc not found" > return 1 > fi >} > >start() { > ebegin "Starting fetchmail" > [[ -e /var/run/fetchmail.pid ]] && rm -f /var/run/fetchmail.pid > start-stop-daemon --start --quiet --pidfile /var/run/fetchmail.pid \ > --exec /usr/bin/fetchmail -- -f /etc/fetchmailrc > echo "" > /home/jmarcet/.procmail/log > [[ -e /var/run/procmail_tail.pid ]] && rm -f /var/run/procmail_tail.pid > tail -f /home/jmarcet/.procmail/log > /dev/vc/12 & > pidof tail | cut -d' ' -f-1 > /var/run/procmail_tail.pid > eend $? "Failed to start fetchmail" >} > >stop() { > ebegin "Stopping fetchmail" > start-stop-daemon --stop --quiet --pidfile /var/run/fetchmail.pid > start-stop-daemon --stop --quiet --pidfile /var/run/procmail_tail.pid > [[ -e /var/run/procmail_tail.pid ]] && rm -f /var/run/procmail_tail.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 7338
: 3587