Skip to content

Commit 247a60b

Browse files
authored
Merge pull request #609 from taotieren/Update_Linux
update archlinux install
2 parents 0456a05 + 736c080 commit 247a60b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

doc.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [WebDAV同步配置](#webdav同步配置)
1414
- [客户端](#客户端)
1515
- [Windows / MacOS / Linux](#windows--macos--linux)
16+
- [Arch Linux 安装](#Arch-Linux-安装)
1617
- [配置文件](#配置文件)
1718
- [手机端](#手机端)
1819
- [服务器版](#服务器版)
@@ -186,6 +187,35 @@ reader:
186187

187188
MacOS 版 `storage` 默认是 `用户目录/.reader/storage`,其它版本 `storage` 默认是 `程序目录/storage`
188189

190+
### Arch Linux 安装
191+
192+
[AUR 仓库](https://aur.archlinux.org/packages/reader-pro-bin)安装或[自建软件源](https://github.com/taotieren/aur-repo)
193+
194+
195+
```bash
196+
yay -Syu reader-pro
197+
# 开启开机自启
198+
sudo systemctl enable reader-pro-single
199+
sudo systemctl enable reader-pro-multi
200+
# 运行
201+
sudo systemctl start reader-pro-single
202+
sudo systemctl start reader-pro-multi
203+
# 状态
204+
sudo systemctl status reader-pro-single
205+
sudo systemctl status reader-pro-multi
206+
# 停止
207+
sudo systemctl stop reader-pro-single
208+
sudo systemctl stop reader-pro-multi
209+
# 停止开机自启
210+
sudo systemctl disable reader-pro-single
211+
sudo systemctl disable reader-pro-multi
212+
```
213+
214+
> Arch Linux 的存储目录是 `/var/lib/reader-pro/`
215+
216+
> Arch Linux 的配置文件是 `/usr/share/java/reader-pro/conf/application.properties`
217+
218+
189219
#### 配置文件
190220

191221
`storage/windowConfig.json`

0 commit comments

Comments
 (0)