Bug 1214213 - shadowsocks-rust: shadowsocks-rust-client.service should not use Type=forking
Summary: shadowsocks-rust: shadowsocks-rust-client.service should not use Type=forking
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Network (show other bugs)
Version: Current
Hardware: All openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Hillwood Yang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-12 06:50 UTC by Justin Yang
Modified: 2024-06-16 08:56 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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