ss-server -c /etc/config.json -d start -u --plugin "obfs-server --obfs http"
i add -d start
but still not run on background
@madeye
thanks for reply
but ur link there is nothing about how to run ss-server on background
@elric8
-f
Start shadowsocks as a daemon with specific pid file.
A daemon runs in background.
Use -f /path/to/pid/file params.
ss-server -c config.json -f ss-server.pid
ss-server &
ss-server &
ss-server &! works better this way....
But I recommend to write a service file and use systemd.
If you cannot use systemd, you can use supervisord
If you can not use supervisord, you can do it like this
"ss-server" "--fast-open" "--no-delay" "-s" "0.0.0.0" "-p" "2337" "-k" "googlab" "-m" "xchacha20-ietf-poly1305" "--plugin" "v2ray-plugin" "--plugin-opts" "server;fast-open;host=www.baidu.com" "-f" "ss-server-2337.pid"
Most helpful comment
ss-server &