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

shadowsocks-libev.service; enabled; vendor preset: disabled #2972

Open
vonecho opened this issue Apr 21, 2023 · 1 comment
Open

shadowsocks-libev.service; enabled; vendor preset: disabled #2972

vonecho opened this issue Apr 21, 2023 · 1 comment

Comments

@vonecho
Copy link

vonecho commented Apr 21, 2023

● shadowsocks-libev.service - Shadowsocks-libev Server
Loaded: loaded (/etc/systemd/system/shadowsocks-libev.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 五 2023-04-21 12:05:58 EDT; 7s ago
Process: 12671 ExecStart=/usr/local/bin/ss-server -c /etc/shadowsocks-libev/config.json -u (code=exited, status=255)
Main PID: 12671 (code=exited, status=255)

4月 21 12:05:58 approved-wall-2.localdomain systemd[1]: Started Shadowsocks-libev Server.
4月 21 12:05:58 approved-wall-2.localdomain systemd[1]: shadowsocks-libev.service: main process exited, code=exited, status=255/n/a
4月 21 12:05:58 approved-wall-2.localdomain systemd[1]: Unit shadowsocks-libev.service entered failed state.
4月 21 12:05:58 approved-wall-2.localdomain systemd[1]: shadowsocks-libev.service failed.

config.jon
{
"server":"0.0.0.0",
"server_port":16253,
"local_port":1080,
"password":"password",
"timeout":300,
"method":"aes-256-gcm",
"nameserver":"8.8.8.8",
"no_delay":true,
"mode":"tcp_and_udp",
"plugin":"v2ray-plugin",
"plugin_opts":"server;tls;host=xxxx;cert=/etc/shadowsocks-libev/xxx.cer;key=/etc/shadowsocks-libev/xxx.key""
}

sudo vi /etc/systemd/system/shadowsocks-libev.service

[Unit]
Description=Shadowsocks-libev Server
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=nobody
ExecStart=/usr/local/bin/ss-server -c /etc/shadowsocks-libev/config.json -u
Restart=on-abort

[Install]
WantedBy=multi-user.target

what is wrong?

@vonecho
Copy link
Author

vonecho commented Apr 21, 2023

Please answer these questions before submitting your issue. Thanks!

(Please mention that if the issue you filed is solved, you may wish to close it by yourself. Thanks again.)

(PS, you can remove 3 lines above, including this one, before post your issue.)

What version of shadowsocks-libev are you using?
shadowsocks-libev 3.3.5 + v2ray plugin 1.3.2

What operating system are you using?
centos 7 x64

What did you do?
vps

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