Chore: use "-m mark --mark" instead of "-m owner --uid-owner"

This commit is contained in:
yaling888
2022-02-23 14:19:59 +08:00
parent 592b6a785e
commit cd3b139c3f
3 changed files with 12 additions and 17 deletions

View File

@ -153,9 +153,7 @@ tproxy-port: 9898
tun:
enable: false
```
Create user given name `clash`.
Run Clash by user `clash` as a daemon.
Run Clash as a daemon.
Create the systemd configuration file at /etc/systemd/system/clash.service:
```shell
@ -165,10 +163,7 @@ After=network.target
[Service]
Type=simple
User=clash
Group=clash
CapabilityBoundingSet=cap_net_admin
AmbientCapabilities=cap_net_admin
Restart=always
ExecStart=/usr/local/bin/clash -d /etc/clash