Skip to content

Commit

Permalink
shadowsocks-libev: open UDP relay by default (#20026)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunlingz authored and ilovezfs committed Nov 1, 2017
1 parent c729e0c commit 3db611d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/shadowsocks-libev.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def install
system "make", "install"
end

plist_options :manual => "#{HOMEBREW_PREFIX}/opt/shadowsocks-libev/bin/ss-local -c #{HOMEBREW_PREFIX}/etc/shadowsocks-libev.json"
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/shadowsocks-libev/bin/ss-local -c #{HOMEBREW_PREFIX}/etc/shadowsocks-libev.json -u"

def plist; <<~EOS
<?xml version="1.0" encoding="UTF-8"?>
Expand All @@ -57,6 +57,7 @@ def plist; <<~EOS
<string>#{opt_bin}/ss-local</string>
<string>-c</string>
<string>#{etc}/shadowsocks-libev.json</string>
<string>-u</string>
</array>
<key>RunAtLoad</key>
<true/>
Expand Down

0 comments on commit 3db611d

Please sign in to comment.