Coder Social home page Coder Social logo

软件根目录在哪 about pysocket HOT 3 OPEN

falseen avatar falseen commented on August 10, 2024
软件根目录在哪

from pysocket.

Comments (3)

xiucz avatar xiucz commented on August 10, 2024

#使用说明:1.将此文件放在程序根目录中即可生效,不用做其他设置(需要重新运行程序)。

这里的重新运行 是怎么运行呢?

谢谢。

from pysocket.

xiucz avatar xiucz commented on August 10, 2024
$ cp socket.py /etc/init.d/
$ /etc/init.d/shadowsocks stop
$ /etc/init.d/shadowsocks start

同时,

$ cat /etc/shadowsocks.json
{
    "server":"0.0.0.0",
    "server_port":mememe,
    "local_address":"mememe",
    "local_port":mememe,
    "password":"mememe",
    "port_password":{
         "7878":"pwd7878",
         "1356":"pwd1356",
         "6754":"pwd6754"
    },
    "timeout":300,
    "method":"aes-256-cfb",
    "protocol_param": "2",
    "fast_open":false
}

这样的话,原来单用户能连接上的,现在不行了。不知道"password" 和 "port_password" 只能保留一个。
如果我想恢复原来状态,只需要移除socket.py,然后重启ss吗?

from pysocket.

falseen avatar falseen commented on August 10, 2024

通过pip安装的我没测试过。

from pysocket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.