From eade996265631eb55b54e513c6446f23122ef1d1 Mon Sep 17 00:00:00 2001 From: xiaoding Date: Thu, 5 Dec 2013 10:31:05 +0800 Subject: [PATCH] Update FreeBSD section of README.md I have updated the freebsd port to include a default config.json file, which will be installed into /usr/local/etc/shadowsocks-libev by default. To enable shadowsocks-libev on freebsd, it's as simple as adding the shadowsocks_libev_enable variable to /etc/rc.conf --- README.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index bb9747cd..281404b3 100644 --- a/README.md +++ b/README.md @@ -97,21 +97,12 @@ cd /usr/ports/net/shadowsocks-libev make install ``` -Then add your configuration into /etc/rc.conf file: +Edit your config.json file. By default, it's located in /usr/local/etc/shadowsocks-libev -``` -# RECOMMENDED -shadowsocks_libev_enable="YES" -shadowsocks_libev_flags="-c /PATH/TO/CONFIG.JSON" -``` - -or you can omit the config.json file, specify arguments directly: +To enable shadowsocks-libev, add the following rc variable to your /etc/rc.conf file. ``` shadowsocks_libev_enable="YES" -shadowsocks_libev_password="YOUR PASSWORD" -shadowsocks_libev_port="1080" -shadowsocks_libev_localport="7070" ``` Start the shadowsocks server: