Revise mismatching targets from README.
This commit is contained in:
parent
5ad7237fa7
commit
3772ad8ddb
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -223,21 +223,21 @@ tproxy-port: 9898
|
||||||
tun:
|
tun:
|
||||||
enable: false
|
enable: false
|
||||||
```
|
```
|
||||||
Create user given name `Clash.Meta`.
|
Create user given name `Clash-Meta`.
|
||||||
|
|
||||||
Run Meta Kernel by user `Clash.Meta` as a daemon.
|
Run Meta Kernel by user `Clash-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]
|
[Unit]
|
||||||
Description=Clash.Meta Daemon, Another Clash Kernel.
|
Description=Clash-Meta Daemon, Another Clash Kernel.
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=Clash.Meta
|
User=Clash-Meta
|
||||||
Group=Clash.Meta
|
Group=Clash-Meta
|
||||||
CapabilityBoundingSet=cap_net_admin
|
CapabilityBoundingSet=cap_net_admin
|
||||||
AmbientCapabilities=cap_net_admin
|
AmbientCapabilities=cap_net_admin
|
||||||
Restart=always
|
Restart=always
|
||||||
|
@ -248,12 +248,12 @@ WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
Launch clashd on system startup with:
|
Launch clashd on system startup with:
|
||||||
```shell
|
```shell
|
||||||
$ systemctl enable Clash.Meta
|
$ systemctl enable Clash-Meta
|
||||||
```
|
```
|
||||||
Launch clashd immediately with:
|
Launch clashd immediately with:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ systemctl start Clash.Meta
|
$ systemctl start Clash-Meta
|
||||||
```
|
```
|
||||||
|
|
||||||
### Display Process name
|
### Display Process name
|
||||||
|
|
Loading…
Reference in a new issue