Merge pull request #15 from Dabrit/test

Optimize reading experience of linux users
This commit is contained in:
Meta 2022-03-04 23:25:02 +08:00 committed by GitHub
commit 557347d366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,21 +223,21 @@ tproxy-port: 9898
tun:
enable: false
```
Create user given name `Clash.Meta`.
Create user given name `meta`.
Run Meta Kernel by user `Clash.Meta` as a daemon.
Run Meta Kernel by user `meta` as a daemon.
Create the systemd configuration file at /etc/systemd/system/clash.service:
Create the systemd configuration file at /etc/systemd/system/Clash-Meta.service:
```
[Unit]
Description=Clash.Meta Daemon, Another Clash Kernel.
Description=Clash-Meta Daemon, Another Clash Kernel.
After=network.target
[Service]
Type=simple
User=Clash.Meta
Group=Clash.Meta
User=meta
Group=meta
CapabilityBoundingSet=cap_net_admin
AmbientCapabilities=cap_net_admin
Restart=always
@ -248,12 +248,12 @@ WantedBy=multi-user.target
```
Launch clashd on system startup with:
```shell
$ systemctl enable Clash.Meta
$ systemctl enable Clash-Meta
```
Launch clashd immediately with:
```shell
$ systemctl start Clash.Meta
$ systemctl start Clash-Meta
```
### Display Process name