Bug 1214213

Summary: shadowsocks-rust: shadowsocks-rust-client.service should not use Type=forking
Product: [openSUSE] openSUSE Tumbleweed Reporter: Justin Yang <darkgeekyang>
Component: NetworkAssignee: Hillwood Yang <hillwoodroc>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: All   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Justin Yang 2023-08-12 06:50:16 UTC
Hi,

The shadowsocks-rust-client.service provided by shadowsocks-rust has Type set to forking, which leads to the timeout of this service every minutes. Since the command sslocal used in ExecStart won't fork, so it's not correct to use forking, instead we should just remove the two lines in the unit service:
>Type=forking
>PIDFile=/var/run/shadowsocks-rust-client.pid
After doing this, the service becomes stable.
Comment 1 Hillwood Yang 2024-06-16 08:56:19 UTC
Fixed