shadowsocks-rust: [Snap][Service]Service in snap can not work, because there is no default path of config file
there is no default path of config file,
therefore i can not use
snap start shadowsocks-rust.ssserver-daemon
debian 10, snap, shadowsocks-rust edge v1.11.2.r34.gf717984
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 16 (7 by maintainers)
It’s OK. shadowsock-rust v1.12.2.r12.g1eff9b1 edge config.json : { “address”: “0.0.0.0”, “port”: 8388, “password”: “password”, “method”: “chacha20-ietf-poly1305” }
root@localhost:~#snap install shadowsocks-rust --edgeroot@localhost:~#cp config.json /var/snap/shadowsocks-rust/common/etc/shadowsocks-rust/config.jsonroot@localhost:~#snap start --enable shadowsocks-rust.ssserver-daemonIt should already supported in the latest version: https://github.com/shadowsocks/shadowsocks-rust/blob/1eff9b188341c5d829b956b467de90e4aba2c660/bin/common/config.rs#L7-L44
ref #688