Edit username to adapt Linux username naming rule
This commit is contained in:
parent
3772ad8ddb
commit
a7f3b85200
1 changed files with 4 additions and 4 deletions
|
@ -223,9 +223,9 @@ tproxy-port: 9898
|
||||||
tun:
|
tun:
|
||||||
enable: false
|
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-Meta.service:
|
Create the systemd configuration file at /etc/systemd/system/Clash-Meta.service:
|
||||||
|
|
||||||
|
@ -236,8 +236,8 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=Clash-Meta
|
User=meta
|
||||||
Group=Clash-Meta
|
Group=meta
|
||||||
CapabilityBoundingSet=cap_net_admin
|
CapabilityBoundingSet=cap_net_admin
|
||||||
AmbientCapabilities=cap_net_admin
|
AmbientCapabilities=cap_net_admin
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
Loading…
Reference in a new issue