New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

howto/SetupFetchmail: Restart_Fetchmail.command

File Restart_Fetchmail.command, 416 bytes (added by martin.osx@…, 4 years ago)

Z-Shell script to restart fetchmail

Line 
1#!/opt/local/bin/zsh
2
3sudo launchctl stop         org.macports.fetchmail
4sudo launchctl unload -w    /Library/LaunchDaemons/org.macports.fetchmail.plist
5sudo launchctl load   -w    /Library/LaunchDaemons/org.macports.fetchmail.plist
6sudo launchctl start        org.macports.fetchmail
7
8# vim: set nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab :
9# vim: set textwidth=0 filetype=zsh foldmethod=marker nospell :