Skip to content

Commit

Permalink
docs: format README.md
Browse files Browse the repository at this point in the history
Signed-off-by: black-desk <me@black-desk.cn>
  • Loading branch information
black-desk committed Aug 9, 2024
1 parent 810927c commit 5ee583e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ systemctl enable --now cgtproxy.service
```

You could check the nft rules generated by default (empty) configuration by:

```bash
sudo nft list ruleset
```

Write your own configuration file according to the [configuration guide],
place it on /etc/cgtproxy/config.yaml then restart systemd service by:

```bash
systemctl restart cgtproxy.service
```
Expand Down Expand Up @@ -121,7 +123,7 @@ there are only few ways to configure network proxy settings at app level.
2. The `cgnoproxy` command it provided
make any program can easily escape from original cgroup
without any authentication.
2. It create cgroup hierarchy without let systemd known.
3. It create cgroup hierarchy without let systemd known.
This behavior break the [single-writer rule]
of design rules of the systemd cgroup API.

Expand Down Expand Up @@ -170,7 +172,7 @@ There are some differences between cgproxy and `cgtproxy`:
## TODO

- [ ] ~~optional cgroup monitor implementation listening on D-Bus
instead of filesystem;~~
instead of filesystem;~~

[notify](https://github.com/rjeczalik/notify)
makes the filesystem monitor much more stable,
Expand All @@ -190,4 +192,4 @@ There are some differences between cgproxy and `cgtproxy`:
~~Clash.Meta~~
[MetaCubeX/mihomo](https://github.com/MetaCubeX/mihomo) is good enough for me.

If you need any feature above, PR is welcome.
If you need any feature above, PR is welcome.

0 comments on commit 5ee583e

Please sign in to comment.