FS#57328 - [simple-obfs] Add a systemd startup script
Attached to Project:
Community Packages
Opened by Tony (raidenii) - Thursday, 01 February 2018, 20:33 GMT
Last edited by Toolybird (Toolybird) - Friday, 05 May 2023, 03:02 GMT
Opened by Tony (raidenii) - Thursday, 01 February 2018, 20:33 GMT
Last edited by Toolybird (Toolybird) - Friday, 05 May 2023, 03:02 GMT
|
Details
Description:
simple-obfs needs a startup script for systemd. Additional info: The current version (0.0.5-2) does not have a systemd startup script (at least as a server). I have created one. Instead of defining user in the systemd script, I left the option of switching user to nobody (or any other unprivileged account) in the configuration file, and give obfs-server the capabilities to set the gid and uid. Somehow, CAP_NET_BIND_SERVICE seems not working when defined a non-root user in the systemd script (still cannot bind ports under 1024). * config and/or log files etc. Steps to reproduce: It does not exist in current package. I have attached my version; opinions are welcomed. |
This task depends upon
Closed by Toolybird (Toolybird)
Friday, 05 May 2023, 03:02 GMT
Reason for closing: Won't implement
Additional comments about closing: See final comment
Friday, 05 May 2023, 03:02 GMT
Reason for closing: Won't implement
Additional comments about closing: See final comment
[1] https://github.com/shadowsocks/simple-obfs