适用于使用 zip 文件直接部署安装的 shell 管理脚本(Shell management scripts for direct deployment installations using zip files) #475
poplar-at-twilight
started this conversation in
讨论
Replies: 1 comment 1 reply
-
本来想试试deb包,结果发现完全找不到data文件路径的说明。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
基于
systemd --user
,适用于 PeerBanHelper 的管理脚本:Based on
systemd --user
, the administrative scripts for PeerBanHelper are shown below:当前的文件布局 - Current file layout
操作 - Procedures
将下载好的
PeerBanHelper*.zip
放置到pbh
脚本设定的$PBH_UP
文件夹中。Place the downloaded
PeerBanHelper*.zip
in the$PBH_UP
folder of thepbh
script settings.使用下文的
pbh
安装并启动服务,然后修改~/bin/pbh/data/config/config.yml
:Install and start the service using
pbh
below, then modify~/bin/pbh/data/config/config.yml
:server
: 将address
的值设置为127.0.0.1
server
: set the value ofaddress
to127.0.0.1
然后在 http://127.0.0.1:8080。生成 token 并添加 qBittorrent 下载器,并修改
~/bin/pbh/data/config/config.yml
:Then at http://127.0.0.1:8080. Generate token and add qBittorrent downloader and modify
~/bin/pbh/data/config/config.yml
:language
:改为zh_CN
language
: change tozh_CN
.btn
:改为true
,并填入app-id
和app-secret
btn
: change totrue
and put inapp-id
andapp-secret
.config-url
改为https://btn-prod.ghostchu-services.top/ping/config
config-url
tohttps://btn-prod.ghostchu-services.top/ping/config
proxy
:将setting: 0
改为setting: 2
,并检查服务器地址和端口是否正确。proxy
: changesetting: 0
tosetting: 2
and check that the server address and port are correct.logger
:将hide-finish-log
改为true
logger
: changehide-finish-log
totrue
.管理脚本 - Management Scripts
注意,解压文件时使用的外部命令是
7z
,它由ark
归档管理器依赖的7zip
所提供。Note that the external command used to decompress the file is
7z
, which is provided by7zip
, which theark
archive manager depends on.Beta Was this translation helpful? Give feedback.
All reactions