shadowsocks-libev: remove -u option

remove -u option, because user can enable UDP relay in config file (shadowsocks-libev.json).

Closes #51765.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
master
2020-03-16 15:37:53 +08:00 committed by Alexander Bayandin
parent a93630fab0
commit 819cf2d7e4
1 changed files with 1 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class ShadowsocksLibev < Formula
system "make", "install"
end
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/shadowsocks-libev/bin/ss-local -c #{HOMEBREW_PREFIX}/etc/shadowsocks-libev.json -u"
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/shadowsocks-libev/bin/ss-local -c #{HOMEBREW_PREFIX}/etc/shadowsocks-libev.json"
def plist
<<~EOS
@ -66,7 +66,6 @@ class ShadowsocksLibev < Formula
<string>#{opt_bin}/ss-local</string>
<string>-c</string>
<string>#{etc}/shadowsocks-libev.json</string>
<string>-u</string>
</array>
<key>RunAtLoad</key>
<true/>