Install shadowsocks on your server.
This cookbook will create a system service "ssserver", while the configuration file is in /etc/shadowsocks.json
.
- Ubuntu
- Debian
- Chef 12.0 or later
poise-service
- for create a system service
node['shadowsocks']['server_port']
- Shadowsocks server port. Default is8388
.node['shadowsocks']['method']
- Shadowsocks encrypt method. Default isaes-256-cfb
.node['shadowsocks']['password']
- Shadowsocks password. Default ispass
.
Just include shadowsocks
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[shadowsocks]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
- Authors:: jccode