Skip to content

Instantly share code, notes, and snippets.

@imsizon
Forked from lexrus/com.shadowsocks.chinadns.plist
Last active August 29, 2015 14:16
Show Gist options
  • Save imsizon/3bb5bccd031f1e696e62 to your computer and use it in GitHub Desktop.
Save imsizon/3bb5bccd031f1e696e62 to your computer and use it in GitHub Desktop.

Revisions

  1. imsizon revised this gist Mar 7, 2015. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion com.shadowsocks.chinadns.plist
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,12 @@
    <string>com.shadowsocks.chinadns</string>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/sbin/chinadns</string>
    <string>/usr/local/bin/chinadns</string>
    <string>-l /usr/local/etc/chinadns/iplist.txt</string>
    <string>-c /usr/local/etc/chinadns/chnroute.txt</string>
    <string>-s 223.5.5.5,114.114.114.114,208.67.222.222:443,8.8.8.8</string>
    <string>-m</string>
    <string>-p 1053</string>
    </array>
    <key>KeepAlive</key>
    <dict>
  2. @lexrus lexrus created this gist Sep 11, 2014.
    19 changes: 19 additions & 0 deletions com.shadowsocks.chinadns.plist
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>com.shadowsocks.chinadns</string>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/sbin/chinadns</string>
    </array>
    <key>KeepAlive</key>
    <dict>
    <key>NetworkState</key>
    <true/>
    </dict>
    <key>RunAtLoad</key>
    <true/>
    </dict>
    </plist>