This repository is trimmed for the current server deployment path:
./scripts/shadowsocks.sh start -lThe startup chain is:
scripts/shadowsocks.sh
scripts/lib/common.sh
python3 shadowsocks/server.py -c shadowsocks.json
Install Python 3 and the crypto dependency used by the configured method:
sudo apt-get install python3-dev libsodium-devThe default config file is shadowsocks.json in the repository root.
Use another config file with:
./scripts/shadowsocks.sh start -l -c /path/to/config.json./scripts/shadowsocks.sh start -l
./scripts/shadowsocks.sh stop
./scripts/shadowsocks.sh restart -l
./scripts/shadowsocks.sh status
./scripts/shadowsocks.sh logThe -m flag only changes the pid and log file names used by the script. The
Python entrypoint stays shadowsocks/server.py.
shadowsocks/: core server, relay, DNS, crypto, and protocol codescripts/: service control scriptsshadowsocks.json: active default server configconfig.json: sample configtests/: retained test fixtures and scripts
Licensed under the Apache License, Version 2.0. See LICENSE.