Last active
March 20, 2016 17:33
-
-
Save wen-long/81b457f19b5c9f04333f to your computer and use it in GitHub Desktop.
在 /Library/LaunchDaemons 下 创建 homebrew.mxcl.aria2.plist ,然后 chmod 600 文件名 chown root 文件名
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
continue=true | |
file-allocation=none | |
#daemon=true | |
disable-ipv6 | |
user-agent=netdisk;4.4.0.6;PC;PC-Windows;6.2.9200;WindowsBaiduYunGuanJia uTorrent/2210(25130) | |
enable-http-pipelining=true | |
event-poll=select | |
check-certificate=false | |
min-split-size=1M | |
enable-dht | |
enable-dht6=false | |
enable-peer-exchange | |
bt-enable-lpd | |
bt-seed-unverified | |
bt-save-metadata | |
bt-hash-check-seed | |
bt-remove-unselected-file | |
bt-stop-timeout=900 | |
seed-ratio=0.0 | |
save-session-interval=60 | |
input-file=/Volumes/D/下载/.aria2.list | |
save-session=/Volumes/D/下载/.aria2.list | |
dir=/Volumes/D/下载 | |
max-connection-per-server=16 | |
max-concurrent-downloads=3 | |
enable-rpc=true | |
rpc-allow-origin-all=true | |
rpc-listen-all=true | |
rpc-listen-port=6800 | |
disk-cache=50M | |
rpc-user=wenlong | |
rpc-passwd=wenlong | |
log=/tmp/aria2.log | |
log-level=debug | |
connect-timeout=600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>Label</key> | |
<string>homebrew.mxcl.aria2</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/aria2c</string> | |
<string>--conf-path=/Users/wenlong/aria2.conf</string> | |
</array> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment