Simple wrapper for ss-manager; auto reload configure; a tiny handmake managing shell.
Targeting for auto startup ss-manager as well as reloading all configurations in /root/.shadowsocks
, and get rid of requirements of nc
with -Uu
support.
- Place the
mync.py
file anywhere you like chmod +x mync.py
- Run
./mync.py install
- Don't forget to run
systemctl enable ss-manager
- Enjoy!
To manager ss-server
slaves, just run ./mync.py
, and
- Type
p
for ping - Type
a1abc
ora 1 abc
to add a slave on portbaseport+1
with passwordabc
- Type
r1
orr 1
for deleting slave on portbaseport+1
- Spaces just don't matter,
a 10barfoo
also works - Default port base is 2000. To change it temporarily, run
./mync.py 3000
. - Check code for more details
Attention: Don't move mync.py
after step 3. Or you may need to run install
again.
Warning: using the remove function don't remove conf files in /root/.shadowsocks
. You have to remove them manually or next time the server starts those server ports will reappear!