forked from pool/shadowsocks-rust
de499a0923
- Add Recommends for shadowsocks-v2ray-plugin - Update systemd services OBS-URL: https://build.opensuse.org/request/show/1093876 OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-rust?expand=0&rev=7
27 lines
710 B
Desktop File
27 lines
710 B
Desktop File
[Unit]
|
|
Description=Daemon to start Shadowsocks-rust-client
|
|
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-client.pid
|
|
ExecStart=/usr/bin/sslocal --log-without-time -c /etc/shadowsocks/shadowsocks-rust.json --tcp-fast-open
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|