Lee Note Lee Note

XXR命令

#查看状态

systemctl status shadowsocks-rust-server

#启动

systemctl start shadowsocks-rust-server

#停止

systemctl stop shadowsocks-rust-server

#重启(修改配置后必须执行)

systemctl restart shadowsocks-rust-server

#开机自启

systemctl enable shadowsocks-rust-server

#取消开机自启

systemctl disable shadowsocks-rust-server

#实时看日志

journalctl -u shadowsocks-rust-server -f

#前台调试(读取脚本生成的配置文件)

ssserver -c /etc/shadowsocks/shadowsocks-rust-config.json