www-client/thorium-browser-bin: new package, add 128.0.6613.189
[gentoo-zh.git] / net-proxy / shadowsocks-rust / files / shadowsocks-rust-server_at.service
blob8f4fde3eb3514f5efb0f8d928dd85f51e5c245b0
1 [Unit]
2 Description=A Rust port of shadowsocks.
3 After=network.target
5 [Service]
6 DynamicUser=yes
7 CacheDirectory=shadowsocks-rust/%i
8 LogsDirectory=shadowsocks-rust/%i
9 RuntimeDirectory=shadowsocks-rust/%i
10 StateDirectory=shadowsocks-rust/%i
11 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
12 AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
13 NoNewPrivileges=true
14 ExecStart=/usr/bin/ssserver -c /etc/shadowsocks-rust/%i.json --log-without-time
15 Restart=on-failure
16 LimitNPROC=10000
17 LimitNOFILE=1000000
19 [Install]
20 WantedBy=multi-user.target