ipv6 kernel parameters
[dotFiles.git] / etc / systemd / system / clash.service
blob4009f738c7b72c81ad985dbb2758481526724b06
1 [Unit]
2 Description=clash service
3 After=network-online.target network.target
4 Wants=network-online.target
6 [Service]
7 Type=simple
8 ExecStart=/etc/clash/clash -d /etc/clash/
9 ExecStartPost=/usr/bin/bash /etc/clash/clash-redir-iptables.sh add
10 ExecStopPost=/usr/bin/bash /etc/clash/clash-redir-iptables.sh remove
11 Restart=on-failure
12 LimitNPROC=10000
13 LimitNOFILE=1000000
15 [Install]
16 WantedBy=multi-user.target