update:arch

This commit is contained in:
dichgrem
2025-07-08 18:51:47 +08:00
parent 9840ee7e42
commit 7f4708a6cd
17 changed files with 42 additions and 1 deletions

View File

@ -253,6 +253,28 @@ sudo apt install grub-customizer
sudo systemctl enable --now syncthing@<username>.service
```
**设置Aria2开机自启动**
```
[Unit]
Description=Aria2c - lightweight multi-protocol & multi-source command-line download utility
After=network.target
[Service]
User=dich
Group=dich
WorkingDirectory=/home/dich
Environment=HOME=/home/dich
Environment=USER=dich
ExecStart=/usr/bin/aria2c --conf-path=/home/dich/.config/aria2/aria2.conf
Restart=always
NoNewPrivileges=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target
```
## 开启BBR
- 确保你的内核版本 >= 4.9

View File

@ -344,6 +344,25 @@
<p><strong>设置Syncthing开机自启动</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo systemctl enable --now syncthing@&lt;username&gt;.service
</span></code></pre>
<p><strong>设置Aria2开机自启动</strong></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>[Unit]
</span><span>Description=Aria2c - lightweight multi-protocol &amp; multi-source command-line download utility
</span><span>After=network.target
</span><span>
</span><span>[Service]
</span><span>User=dich
</span><span>Group=dich
</span><span>WorkingDirectory=/home/dich
</span><span>Environment=HOME=/home/dich
</span><span>Environment=USER=dich
</span><span>ExecStart=/usr/bin/aria2c --conf-path=/home/dich/.config/aria2/aria2.conf
</span><span>Restart=always
</span><span>NoNewPrivileges=true
</span><span>PrivateTmp=true
</span><span>
</span><span>[Install]
</span><span>WantedBy=multi-user.target
</span></code></pre>
<h2 id="kai-qi-bbr">开启BBR</h2>
<ul>
<li>确保你的内核版本 &gt;= 4.9</li>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
{"version":"1.3.0","languages":{"en":{"hash":"en_706fef6b35","wasm":"en","page_count":97}}}
{"version":"1.3.0","languages":{"en":{"hash":"en_c359ad4b1a","wasm":"en","page_count":97}}}

Binary file not shown.