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)

Most upvoted comments

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 --edge root@localhost:~#cp config.json /var/snap/shadowsocks-rust/common/etc/shadowsocks-rust/config.json root@localhost:~#snap start --enable shadowsocks-rust.ssserver-daemon