Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bernylinville committed Jul 31, 2023
1 parent eff1077 commit 89a55cd
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pacman_installed_packages:
- lib32-vulkan-radeon
- vulkan-icd-loader
- lib32-vulkan-icd-loader
- net-tools

pacman_uninstalled_packages: []

Expand Down
32 changes: 32 additions & 0 deletions setups.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,35 @@ gpg --armor --export <key>
git config --global user.signingkey <key>
git config --global commit.gpgsign true
```

across gfw
```bash
# clash.meta
wget https://github.com/MetaCubeX/Clash.Meta/releases/download/v1.15.0/clash.meta-linux-amd64-v1.15.0.gz
gzip -d clash.meta-linux-amd64-v1.15.0.gz
sudo install clash.meta-linux-amd64-v1.15.0 /usr/local/bin/clash
sudo mkdir /etc/clash
```

```conf
# /etc/systemd/system/clash.service
[Unit]
Description=Clash-Meta Daemon, Another Clash Kernel.
After=network.target NetworkManager.service systemd-networkd.service iwd.service
[Service]
Type=simple
User=root
Group=root
LimitNPROC=500
LimitNOFILE=1000000
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
Restart=always
ExecStartPre=/usr/bin/sleep 1s
ExecStart=/usr/local/bin/clash -d /etc/clash
[Install]
WantedBy=multi-user.target
```

0 comments on commit 89a55cd

Please sign in to comment.