Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start shadowsocks-rust as service via systemctl with v2ray-plugin activated #323

Open
Trogvars opened this issue Sep 28, 2024 · 1 comment

Comments

@Trogvars
Copy link

Can't start shadowsocks-rust as service via systemctl with v2ray-plugin activated. Says it can''t find file, certificate i guess.

Sep 28 04:41:25 vpn4 ssserver[52693]: 2024-09-28T04:41:25.447157224Z INFO shadowsocks server 1.21.0 build 2024-09-22T14:50:01.940728947+00:00
Sep 28 04:41:25 vpn4 ssserver[52693]: 2024-09-28T04:41:25.44925582Z ERROR failed to start plugin "v2ray-plugin" for server 0.0.0.0:8388, err: No such file or directory (os error 2)
Sep 28 04:41:25 ssserver[52693]: server aborted with No such file or directory (os error 2)

But it perfectly run under root user.

{
"server": "0.0.0.0",
"server_port": 8388,
"password": "Nu8ahch1weiPahn4Vo1e",
"method": "chacha20-ietf-poly1305",
"timeout": 300,
"mode": "tcp_and_udp",
"plugin": "v2ray-plugin",
"plugin_opts": "server;tls;cert=/opt/ss/fullchain.pem;key=/opt/ss/privkey.pem;host=my.domain.com;loglevel=debug;"
}

@Trogvars
Copy link
Author

changed path of plugin to full path
"plugin": "/opt/ss/v2ray-plugin",
and it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant