remove ia64 keywords
[gentoo-zh.git] / net-proxy / shadowsocks-rust / files / shadowsocks-rust_at.service
blobf1e2fac1e133e06298ee459995876c645422ae32
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/sslocal -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