]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/fetchmail
2 ########################################################################
3 # Begin $rc_base/init.d/fetchmail
5 # Description : Fetchmail Init Script
7 # Authors : Michael Tremer (ms@ipfire.org)
13 ########################################################################
20 boot_mesg
"Starting fetchmail daemon..."
21 /usr
/bin
/fetchmail
--daemon 300 -f '/root/.fetchmailrc' >/dev
/null
2>&1
26 boot_mesg
"Stopping fetchmail daemon..."
27 killproc
/usr
/bin
/fetchmail
31 boot_mesg
"Reloading fetchmail daemon..."
32 reloadproc
/usr
/bin
/fetchmail
42 statusproc
/usr
/bin
/fetchmail
46 echo "Usage: ${0} {start|stop|reload|restart|status}"
51 # End $rc_base/init.d/fetchmail