mirror of
https://github.com/Dichgrem/Blog.git
synced 2025-07-31 00:59:31 -04:00
update:arch
This commit is contained in:
@ -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:
|
||||
|
@ -344,6 +344,25 @@
|
||||
<p><strong>设置Syncthing开机自启动</strong></p>
|
||||
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo systemctl enable --now syncthing@<username>.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 & 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>确保你的内核版本 >= 4.9:</li>
|
||||
|
Binary file not shown.
BIN
public/pagefind/fragment/en_555a2d2.pf_fragment
Normal file
BIN
public/pagefind/fragment/en_555a2d2.pf_fragment
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_2bd442c.pf_index
Normal file
BIN
public/pagefind/index/en_2bd442c.pf_index
Normal file
Binary file not shown.
BIN
public/pagefind/index/en_3d38a5c.pf_index
Normal file
BIN
public/pagefind/index/en_3d38a5c.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_627ebc9.pf_index
Normal file
BIN
public/pagefind/index/en_627ebc9.pf_index
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_8985a54.pf_index
Normal file
BIN
public/pagefind/index/en_8985a54.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_a6e3cd1.pf_index
Normal file
BIN
public/pagefind/index/en_a6e3cd1.pf_index
Normal file
Binary file not shown.
@ -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.
BIN
public/pagefind/pagefind.en_c359ad4b1a.pf_meta
Normal file
BIN
public/pagefind/pagefind.en_c359ad4b1a.pf_meta
Normal file
Binary file not shown.
Reference in New Issue
Block a user