Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 262801 Details for
Bug 355251
net-mail/fetchmail - improvement on init-script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
proposed init-script for fetchmail
fetchmail init script (text/plain), 1010 bytes, created by
Uwe Lohmann
on 2011-02-16 21:34:37 UTC
(
hide
)
Description:
proposed init-script for fetchmail
Filename:
MIME Type:
Creator:
Uwe Lohmann
Created:
2011-02-16 21:34:37 UTC
Size:
1010 bytes
patch
obsolete
>#!/sbin/runscript > >piddir=/var/run/fetchmail > ># the following lines should be included in the fetchmail ebuild-script >mkdir -p /var/run/fetchmail >chmod a=rwx /var/run/fetchmail ># end ebuild script > > >depend() { > need net > use mta >} > >start() { > ebegin "Starting fetchmail" > if [ -z $USERS ]; then > # No user is defined in /etc/conf.d/fetchmail ==> get all users > USERS=`cat /etc/passwd | grep home | cut -d ':' -f1` > fi > > # simple function to get all options defined in /etc/conf.d/fetchmail > OPTIONS=`cat /etc/conf.d/fetchmail | grep \"--\" | grep -v \"#\" | tr '\n' ' ' ` > > for user in $USERS > do > if [ -f /home/$user/.fetchmailrc ]; then > # only if user has a ~./fetchmailrc file > su $user -c "/usr/bin/fetchmail --pidfile $piddir/$user.pid $OPTIPNS" > fi > done > eend ${?} >} > >stop() { > ebegin "Stopping fetchmail" > killall fetchmail > 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 355251
: 262801 |
262807