Skip to content

Commit cad79e7

Browse files
committed
[FIX](doc) 增加说明
1 parent fd7f294 commit cad79e7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,19 @@ db:
7373
db_name: oms
7474
```
7575

76+
3. 注册为服务
77+
```shell script
78+
# 支持windows/linux/macos
79+
80+
oms --action install --config config.yaml
81+
82+
# 取消注册
83+
oms --action uninstall
84+
```
85+
86+
> 注意注册为服务程序的运行目录会改变比如windows为C:/System32, 因此要修改配置中data_path为绝对路径。
87+
> logger为相对路径时放在data_path下, 为绝对路径时在指定的路径。
88+
7689
### 目前已经实现的功能
7790
1. web界面[omsUI](https://github.com/lixin59/omsUI/blob/master/README.md)
7891
2. 隧道, 类似`ssh``-L``-R`

0 commit comments

Comments
 (0)