shadowsocks-rust/shadowsocks-rust-server.service
Hillwood Yang f6e74eb0f9 - Update version to 1.21.2
* supports generic I/O socket type
  * Support OpenBSD Packet-Filter (pf)
  * Fix bugs

OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-rust?expand=0&rev=33
2024-11-22 13:08:37 +00:00

29 lines
746 B
Desktop File

[Unit]
Description=Daemon to start Shadowsocks-rust-server
Wants=network-online.target
After=network.target
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=forking
PIDFile=/var/run/shadowsocks-rust-server.pid
ExecStart=/usr/bin/ssserver --log-without-time -c /etc/shadowsocks/shadowsocks-rust.json --tcp-fast-open
Restart=on-failure
User=shadowsocks
Group=shadowsocks
[Install]
WantedBy=multi-user.target