Chore: code style

This commit is contained in:
yaling888 2022-05-09 08:10:20 +08:00
parent 95db646b3b
commit ace84ff548
2 changed files with 8 additions and 8 deletions

View File

@ -3,8 +3,7 @@ on:
push: push:
branches: branches:
- rm - rm
tags:
- '*'
jobs: jobs:
build: build:

View File

@ -220,7 +220,7 @@ iptables:
Run Clash as a daemon. Run Clash as a daemon.
Create the systemd configuration file at /etc/systemd/system/clash.service: Create the systemd configuration file at /etc/systemd/system/clash.service:
```shell ```sh
[Unit] [Unit]
Description=Clash daemon, A rule-based proxy in Go. Description=Clash daemon, A rule-based proxy in Go.
After=network.target After=network.target
@ -235,11 +235,11 @@ ExecStart=/usr/local/bin/clash -d /etc/clash
WantedBy=multi-user.target WantedBy=multi-user.target
``` ```
Launch clashd on system startup with: Launch clashd on system startup with:
```shell ```sh
$ systemctl enable clash $ systemctl enable clash
``` ```
Launch clashd immediately with: Launch clashd immediately with:
```shell ```sh
$ systemctl start clash $ systemctl start clash
``` ```
@ -247,10 +247,11 @@ $ systemctl start clash
To display process name online by click [https://yaling888.github.io/yacd/](https://yaling888.github.io/yacd/). To display process name online by click [https://yaling888.github.io/yacd/](https://yaling888.github.io/yacd/).
You can download the [Dashboard](https://github.com/yaling888/yacd/archive/gh-pages.zip) into Clash home directory: You can download the [Dashboard](https://github.com/yaling888/yacd/archive/gh-pages.zip) into Clash home directory:
```shell ```sh
cd ~/.config/clash cd ~/.config/clash
curl -LJ https://github.com/yaling888/yacd/archive/gh-pages.zip -o dashboard.zip curl -LJ https://github.com/yaling888/yacd/archive/gh-pages.zip -o yacd-gh-pages.zip
unzip dashboard.zip unzip yacd-gh-pages.zip
mv yacd-gh-pages dashboard
``` ```
Add to config file: Add to config file: