Skip to content

Commit

Permalink
更新 readme #14
Browse files Browse the repository at this point in the history
  • Loading branch information
makeding committed Apr 25, 2022
1 parent e014e0b commit 67040ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,4 +1,5 @@
node_modules
config.js
*test*
*tmp*
*tmp*
.DS_Store
10 changes: 4 additions & 6 deletions README.md
Expand Up @@ -83,25 +83,23 @@ ab-bt-ban-timeout=86400
```
[Unit]
Description=aria2 ban unwelcome clients via ipset
After=network.target
After=network.target aria2.service
[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
# 这里的路径自己改改
# 这里的路径自己改改,默认应该是这个
ExecStart=/usr/local/bin/aria2b
[Install]
WantedBy=multi-user.target
```
路径:
> /usr/lib/systemd/system/aria2b.service
命令:
```
systemctl daemon-reload
systemctl edit aria2b --full --force
systemctl enable aria2b.service --now
```
### pm2
Expand Down

0 comments on commit 67040ed

Please sign in to comment.